Paul Moore <[EMAIL PROTECTED]> writes:
>From: Nick Ing-Simmons [mailto:[EMAIL PROTECTED]]
>>
>> It does not mention that in the book I have - is your source
>> either empirical or definitive ?
>
>MSDN - does that count as apocryphal? :-)
>
>>From the documentation of MsgWaitForMultipleObjects()
>
>Parameters:
>nCount
>Specifies the number of object handles in the array pointed to by pHandles.
>The maximum number of object handles is MAXIMUM_WAIT_OBJECTS minus one.
>
>Plus,
>
>\VisualStudio\VC98\Include\WINNT.H:#define MAXIMUM_WAIT_OBJECTS 64 //
>Maximum number of wait objects
The include file is probably definitive.
>
>As I don't use Event in anger, could I ask the assembled company - how much
>use would an implementation which was limited by this be in practice?
We can probably live with 64.
But it does mean we don't just create new objects "just for simplicity".
--
Nick Ing-Simmons