Boost logo

Boost :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-07-28 06:38:10


Bronek Kozicki wrote:
> Roland wrote:
>> This would increase the number of threads seriously, since you can
>> only wait for a very limited number of objects in a call to WaitFor.
>
> Agh ... it took me some time to see your point. Yes, RegisterWaitFor..
> internally uses WaitForMultipleObjects (actally it's little more
> complicated), which is limited to 64 handles on my version of Windows.

however, "new wait threads are created automatically when required."
(http://msdn.microsoft.com/library/en-us/dllproc/base/registerwaitforsin
gleobject.asp ) . Thus number of calls to RegisterForWait... function is
not limited by capacity of WaitForMultipleObjects.

B.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk