public override bool QueueUserWorkItem(NativeWaitCallbackWithArg callback, object obj) { return NativeThreadPoolImpl.QueueUserWorkItem(callback, obj); }
public static bool QueueUserWorkItem(NativeWaitCallbackWithArg callback, object obj) { Task.Run(delegate () { callback.Invoke(obj); } ); return true; }