[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.


--- 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 Details: 
+Status: NEW   
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: r.h.lee@attbi.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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?