public static void CallThreadedFunction(Action action) { ThreadingBridge.ExecuteThreaded(() => { try { action(); }catch (Exception e) { ThreadingHelper.Dispatch(() => { throw e; }); } }); }
public static void QueueUserWorkItem(ThreadCallback callback) { ThreadingBridge.ExecuteThreaded(() => { callback(null); }); }