[os-event] Fix set operation
authorLudovic Henry <ludovic@xamarin.com>
Fri, 4 Nov 2016 14:43:44 +0000 (10:43 -0400)
committerLudovic Henry <ludovic@xamarin.com>
Fri, 4 Nov 2016 14:46:19 +0000 (10:46 -0400)
commit627eaebf94e6218891656fbda6ed722226cc2f59
tree874a450fc92b9bc2457f61df923a0095f77539ed
parent52977849ff13443133541de513ad94b337c2e6cf
[os-event] Fix set operation

This is a logic bug where we would only wake up one of the threads that are waiting for the manual MonoOSEvent to be set. This would be a problem only if more than one thread is waiting.
mono/utils/os-event-unix.c