Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3953

Should preemptive threads use 100% CPU?

$
0
0

Trying out preemptive threads in a console app, and it no matter how much sleep time I give the threads or the main event loop, the process uses exactly 100% CPU in activity monitor. Is this normal? I can’t imagine it would be, but I figured I’d ask.

Switching to cooperative brings the CPU down to normal levels.

7 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3953

Trending Articles