Click here to Skip to main content
12,247,299 members (57,031 online)
Click here to Skip to main content

Stats

58.2K views
854 downloads
49 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.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 27 Aug 2008
Article Copyright 2008 by hagarwal
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid