Click here to Skip to main content
12,689,618 members (26,276 online)
Click here to Skip to main content
Alternatives
Add your own
alternative version

Stats

62.7K views
905 downloads
50 bookmarked
Posted

Better Way to Sleep: Control Execution and Limit CPU Usage by your Threads

, 27 Aug 2008 CPOL
Here is a class that will help you to control the execution of your threads that involves looping/polling and also limits their CPU usage to a specified limit.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

hagarwal
Software Developer (Senior)
India India
No Biography provided

Pro
Pro
| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170113.4 | Last Updated 27 Aug 2008
Article Copyright 2008 by hagarwal
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid