Instead of polling, notify the consumer thread that there's something to consume.
Example Win32 code: http://www.codeguru.com/forum/showpo...5&postcount=15
gg
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 16
Thread: Mutual exclusion strategyThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |