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