- Home /
Question by
George Phillips · Nov 13, 2013 at 03:45 AM ·
synchronizationthreads
Does ManualResetEvent work in the Unity runtime?
The following code fragment should hang the calling thread forever:
using System.Threading;
ManualResetEvent done = new ManualResetEvent(false);
done.WaitOne();
But when I run the code the thread does not hang on done.WaitOne() as I would expect.
I'm running under the Unity editor 4.2.2f1 on Windows 7.
Comment