237
237
// too many wait objects for a single WaitForMultipleObjects call, so use multiple threads
238
238
static const unsigned int WAIT_OBJECTS_PER_THREAD = MAXIMUM_WAIT_OBJECTS-1;
240
240
if (nThreads > MAXIMUM_WAIT_OBJECTS) // still too many wait objects, maybe implement recursive threading later?
241
241
throw Err("WaitObjectContainer: number of wait objects exceeds limit");