createthread[,threadcreate,newthread,threadnew]

在指定的条目处创建一个新的线程。

参数

arg1 The entry of the new thread.

[arg2] The argument of the new thread. If the argument is not specified, the default argument is 0.

结果

$result will be set to the thread id of the new thread.