Commit Graph
11 Commits
Author SHA1 Message Date
Martin Baulig 988f522b36 Put back unsupported EventWaitHandle and Mutex constructors. 2013-03-12 22:13:39 -04:00
Martin Baulig 03bb7b498a System.Threading.{Semaphore|EventWaitHandle|Mutex}.TryOpenExisiting(). 2013-03-12 21:15:55 -04:00
James Bellinger c6f901c2cf Mutexes and event wait handles now work, with tests included. Fixed the exception on failure for MutexSecurity. 2012-07-07 18:45:26 -04:00
Marek Safar b1683b85d3 Remove some unused code 2012-02-24 13:14:08 +00:00
Zoltan Varga 8541b2548a Add locking to EventWaitHandle.Set/Reset to avoid crashes when another thread disposes the handle. Fixes #1499. 2011-10-17 15:13:25 +02:00
Miguel de Icaza 5e63701d4b 2009-11-02 Miguel de Icaza <[email protected]>
* Jumbo patch to drop support for pre-NET_2_0 code:

        Remove ONLY_1_1 code
        Remove NET_1_0 only code
        Remove NET_2_0 defines assuming the value is true.


svn path=/trunk/mcs/; revision=145230
2009-11-02 23:22:40 +00:00
Sebastien Pouliot 2d0767d3b8 In System.Threading:
2009-10-22  Sebastien Pouliot  <[email protected]>
	* EventWaitHandle.cs: Add validation on the EventResetMode 
	parameter used in the constructors
In .:
2009-10-22  Sebastien Pouliot  <[email protected]>

	* corlib_test.dll.sources: Add System/WeakReferenceTest and
	System.Threading/EventWaitHandleTest.cs

In Test/System.Threading:
2009-10-22  Sebastien Pouliot  <[email protected]>
	* EventWaitHandleTest.cs: New. Test case for EventResetMode 
	validation
In Test/System:
2009-10-22  Sebastien Pouliot  <[email protected]>

	* WeakReferenceTest.cs: New. Basic test cases


svn path=/trunk/mcs/; revision=144681
2009-10-22 20:46:35 +00:00
Sebastien Pouliot 9f87d8f285 2009-09-20 Sebastien Pouliot <[email protected]>
* EventWaitHandle.cs: Remove AccessControl usage for NET_2_1
	* Mutex.cs: Remove some ctors and AccessControl usage for NET_2_1
	* NativeEventCalls.cs: Remove AccessControl usage for NET_2_1


svn path=/trunk/mcs/; revision=142281
2009-09-20 16:38:40 +00:00
Dick Porter fcc5135db0 2007-05-01 Dick Porter <[email protected]>
* ThreadState.cs: 
	* AsyncFlowControl.cs: 
	* Interlocked.cs: 
	* RegisteredWaitHandle.cs: 
	* TimerCallback.cs: 
	* ThreadStateException.cs: 
	* Monitor.cs: 
	* ThreadStart.cs: 
	* WaitOrTimerCallback.cs: 
	* LockCookie.cs: 
	* EventWaitHandle.cs: 
	* WaitHandle.cs: 
	* ThreadAbortException.cs: 
	* ThreadPriority.cs: 
	* ReaderWriterLock.cs: 
	* NativeOverlapped.cs: 
	* Mutex.cs: 
	* Overlapped.cs: 
	* ThreadPool.cs: 
	* ApartmentState.cs: 
	* EventResetMode.cs: 
	* SynchronizationLockException.cs: 
	* ManualResetEvent.cs: 
	* WaitCallback.cs: 
	* IOCompletionCallback.cs: 
	* AutoResetEvent.cs: 
	* AbandonedMutexException.cs: 
	* SendOrPostCallback.cs: 
	* ThreadInterruptedException.cs: Update to 2.0 profile



svn path=/trunk/mcs/; revision=76530
2007-05-01 15:28:29 +00:00
Dick Porter 8265935e1b 2005-12-23 Dick Porter <[email protected]>
* EventWaitHandle.cs: 
        * Mutex.cs: Implement OpenExisting

        * NativeEventCalls.cs: Add OpenEvent icall for OpenExisting in
        2.0.  Add a "created" boolean out parameter to CreateEvent icall.

        * ManualResetEvent.cs: 
        * AutoResetEvent.cs: Update CreateEvent icall signature (now has
        "created" boolean out parameter.)

2005-12-23  Dick Porter  <[email protected]>

        * Semaphore.cs: Implement OpenExisting

2005-12-23  Dick Porter  <[email protected]>

        * MutexRights.cs: New for 2.0 profile

2005-12-23  Dick Porter  <[email protected]>

        * SemaphoreRights.cs: Make the [Flags] enum more obvious

2005-12-23  Dick Porter  <[email protected]>

        * SemaphoreTest.cs: Enable another test

2005-12-23  Dick Porter  <[email protected]>

        * corlib.dll.sources: Added System.Security.AccessControl.MutexRights



svn path=/trunk/mcs/; revision=54801
2005-12-23 20:29:06 +00:00
Dick Porter f6ce484bf8 2005-12-17 Dick Porter <[email protected]>
* ThreadStartException.cs: 
        * EventWaitHandle.cs: 
        * EventResetMode.cs: 
        * AbandonedMutexException.cs: New for 2.0 profile

        * ThreadState.cs: 
        * Interlocked.cs: 
        * RegisteredWaitHandle.cs: 
        * Monitor.cs: 
        * ThreadPriority.cs: 
        * Mutex.cs: 
        * ManualResetEvent.cs: 
        * AutoResetEvent.cs: Updated for 2.0 profile

2005-12-17  Dick Porter  <[email protected]>

        * EventWaitHandleRights.cs: New for 2.0 profile

        * MutexSecurity.cs: 
        * EventWaitHandleSecurity.cs: 
        * CommonObjectSecurity.cs: 
        * NativeObjectSecurity.cs: 
        * ObjectSecurity.cs: New partial stub for 2.0 profile

2005-12-17  Dick Porter  <[email protected]>

        * corlib.dll.sources: Added in System.Security.AccessControl:
        CommonObjectSecurity.cs, EventWaitHandleRights.cs,
        EventWaitHandleSecurity.cs, ObjectSecurity.cs, MutexSecurity.cs,
        NativeObjectSecurity.cs.  Added in System.Threading:
        AbandonedMutexException.cs, EventResetMode.cs, EventWaitHandle.cs,
        ThreadStartException.cs



svn path=/trunk/mcs/; revision=54567
2005-12-17 18:17:58 +00:00