在指定的入口点创建一个新线程。
arg1 新线程的入口点。
arg1
[arg2] 新线程的参数。如果未指定参数,默认参数为 0。
[arg2]
$result 将被设置为新线程的线程 ID。
$result