[Mono-bugs] [Bug 41292][Maj] Changed - Some threads blocking on AutoResetEvent.WaitOne don't receive event

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 15 Apr 2003 07:34:49 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by r.h.lee@attbi.com.

http://bugzilla.ximian.com/show_bug.cgi?id=41292

--- shadow/41292	Mon Apr 14 08:13:02 2003
+++ shadow/41292.tmp.10596	Tue Apr 15 07:34:49 2003
@@ -56,6 +56,23 @@
           Thread.Sleep(1);
      }
 
 ------- Additional Comments From dick@ximian.com  2003-04-14 08:13 -------
 Please supply a fully self-contained demonstration of this bug, that
 we can use to reproduce the problem.
+
+------- Additional Comments From r.h.lee@attbi.com  2003-04-15 07:34 -------
+The following is a testcase to test the WaitHandle objects
+AutoResetEvent, ManualResetEvent, and Mutex.
+
+The test case design is pretty simple,
+Create X number of threads (default is 5).
+Each thread blocks on a member WaitHandle superclass. The WaitHandle
+superclass Set function is called in an iteration equal to the number
+of threads. Each thread checks into a Synchronized Queue after
+receiving the event. The number of threads checked in is compared to
+the number of threads that were blocking. 
+
+It can be compiled as an exe or a library.
+All testcases require NUnit20.
+
+running in exe: mono <compiled.exe> <threadcount> <minisleeptime>