Beispiel #1
0
 public void Start(threadPool threadPool)
 {
     if (OnError == null)
     {
         threadPool.FastStart(Call, Type);
     }
     else
     {
         threadPool.FastStart(Call, OnError, Type, thread.errorType.Action);
     }
 }
Beispiel #2
0
 public void CheckStart(threadPool threadPool)
 {
     if (Type != thread.callType.None)
     {
         if (OnError == null)
         {
             threadPool.FastStart(Call, Type);
         }
         else
         {
             threadPool.FastStart(Call, OnError, Type, thread.errorType.Action);
         }
     }
 }