High CPU Utilization when Using ATEasy's Delay()

Knowledge Base Article # Q200030

Read Prior Article Read Next Article
Summary Delay monitors events and interrupts, which results in CPU utilization.
  
Login to rate article
Solution:

Calling Delay() does not put your thread to sleep; events and interrupts continue to be monitored in your thread.

If you don't want to monitor events, you can use Sleep(), which does not use as much CPU.

Article Date 9/25/2002
Keywords ATEasy, Sleep, Delay, WaitForEvent


Login to rate article

Read Prior Article Read Next Article
>