Exemple #1
0
        internal static void UnsafeQueueWaitCompletion(CompleteWaitThreadPoolWorkItem completeWaitWorkItem)
        {
            Debug.Assert(UsePortableThreadPool);

#if TARGET_WINDOWS // the IO completion thread pool is currently only available on Windows
            QueueWaitCompletionNative(completeWaitWorkItem);
#else
            UnsafeQueueUserWorkItemInternal(completeWaitWorkItem, preferLocal: false);
#endif
        }
Exemple #2
0
 internal static void UnsafeQueueWaitCompletion(CompleteWaitThreadPoolWorkItem completeWaitWorkItem) =>
 UnsafeQueueUserWorkItemInternal(completeWaitWorkItem, preferLocal: false);
Exemple #3
0
 private static extern void QueueWaitCompletionNative(CompleteWaitThreadPoolWorkItem completeWaitWorkItem);