[Bug 36692] Bad performance when combineng SetEvent / WaitForSingleObject for synchronizing worker threads