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