[Mono-bugs] [Bug 41287][Nor] New - WaitHandle objects usable after Close
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sat, 12 Apr 2003 22:05:23 -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=41287
--- shadow/41287 Sat Apr 12 22:05:23 2003
+++ shadow/41287.tmp.4046 Sat Apr 12 22:05:23 2003
@@ -0,0 +1,37 @@
+Bug#: 41287
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: r.h.lee@attbi.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: WaitHandle objects usable after Close
+
+Description of Problem:
+AutoResetEvent, ManualResetEvent, Mutex are still usable after they have
+been closed.
+
+Steps to reproduce the problem:
+1. Create the WaitHandle
+2. call WaitHandle.Close()
+3. Block a thread on WaitHandle.WaitOne ()
+4. Set the event
+
+Actual Results:
+The calls are successful.
+
+Expected Results:
+After a WaitHandle is closed, they should throw an exception when an
+attempt is made to use them.
+
+How often does this happen?
+Always