Files
mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/AsyncMethodData.cs
T
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

44 lines
1.4 KiB
C#

// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2004 Novell, Inc.
//
// Authors:
// Jackson Harper ([email protected])
using System;
using System.Threading;
namespace System.Windows.Forms {
internal class AsyncMethodData {
public Delegate Method;
public object [] Args;
public AsyncMethodResult Result;
#if NET_2_0
public ExecutionContext Context;
#else
public CompressedStack Stack;
#endif
}
}