Commit Graph
5 Commits
Author SHA1 Message Date
Jackson Harper bb48f332c5 * AsyncMethodData.cs: Check if the call is complete before doing a
* WaitOne
        * AsyncMethodResult.cs: We no longer use a WeakReference for the
        AsyncMethodResult, this is because we ALWAYS want the
        ManualResetEvent to get set.
        * Control.cs: When disposing use an async invoke to call
        * shutdown
        code, so that thigns don't block on the finalizer thread.  Also
        check if we even have a message loop before trying to send
        messages, if we don't then don't bother sending messages.
        - No more weak references for async methods
        * XplatUIDriver.cs: No more weak references for async methods.


svn path=/trunk/mcs/; revision=55121
2006-01-05 22:18:41 +00:00
Jackson Harper ca828f7d04 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
this gives the behavoir I was looking for.


svn path=/trunk/mcs/; revision=55072
2006-01-04 19:44:03 +00:00
Kazuki Oikawa 4b1b1d61be * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
svn path=/trunk/mcs/; revision=50457
2005-09-22 04:49:56 +00:00
Jackson Harper cc7cb43278 Make sure we have the mutex before we release it. Fixes BeginInvoke on windows
svn path=/trunk/mcs/; revision=32626
2004-08-21 18:32:20 +00:00
Jackson Harper c235a6af89 Classes for sending Async messages through X/Win32
svn path=/trunk/mcs/; revision=32589
2004-08-20 19:10:38 +00:00