You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@@ -173,7 +173,11 @@ namespace System.Threading
|
||||
#if MONO
|
||||
protected static int WaitHelper(IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
unsafe {
|
||||
fixed (IntPtr * pWaitHandles = waitHandles) {
|
||||
return System.Threading.WaitHandle.Wait_internal (pWaitHandles, waitHandles.Length, waitAll, millisecondsTimeout);
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
|
@@ -675,7 +675,9 @@ namespace System.Threading
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if MONO
|
||||
ThreadPool.NotifyWorkItemQueued();
|
||||
#endif
|
||||
EnsureThreadRequested();
|
||||
}
|
||||
|
||||
@@ -1897,6 +1899,13 @@ namespace System.Threading
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
internal static extern void NotifyWorkItemProgressNative();
|
||||
|
||||
#if MONO
|
||||
[System.Security.SecurityCritical]
|
||||
[ResourceExposure(ResourceScope.None)]
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
internal static extern void NotifyWorkItemQueued();
|
||||
#endif
|
||||
|
||||
[System.Security.SecurityCritical] // auto-generated
|
||||
[ResourceExposure(ResourceScope.None)]
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
|
Reference in New Issue
Block a user