Make an isolated process using the c program in windows xp?

I have an application with 4 threads, of which 2 are event-based and 2 are not event-based.

the problem is that I have to isolate threads based on 2 unrelated events, in which while (1) runs a loop that uses a huge cpu value, and this usage reaches even up to 100%,

I think that allocating these threads can reduce CPU usage,

Would it be a good idea if there is any other method called plz.

and I also want to know how to isolate threads.

thanx in advance.

+3
source share
2 answers

, . , , (, - ), . , , - , .

, , . , , . , 1 - , .

  • , , Windows , , , , , , .
+2

, .

+1

Source: https://habr.com/ru/post/1751504/


All Articles