createthread[,threadcreate,newthread,threadnew]

在指定的入口点创建一个新线程。

参数

arg1 新线程的入口点。

[arg2] 新线程的参数。如果未指定参数,默认参数为 0。

结果

$result 将被设置为新线程的线程 ID。