Exemplo n.º 1
0
 public static TsObject moniter_exit(ITsInstance inst, TsObject[] args)
 {
     Monitor.Exit(args[0].GetValue());
     return(TsObject.Empty());
 }
Exemplo n.º 2
0
 public static TsObject thread_sleep(ITsInstance inst, TsObject[] args)
 {
     Thread.Sleep((int)args[0]);
     return(TsObject.Empty());
 }