TC官方合作论坛
标题:
暂停当前线程
[打印本页]
作者:
luqinlong
时间:
2016-1-31 18:30
标题:
暂停当前线程
function suspend_thread()
var id,handle
id=threadgetid()
handle=dllcall("Kernel32.dll","int","OpenThread","int",2,"int",0,"int",id)
dllcall("Kernel32.dll","int","SuspendThread","int",handle)
return dllcall("Kernel32.dll","int","CloseHandle","int",handle)
end
tc5说明文档要更新一下了
作者:
如此美丽。
时间:
2016-1-31 19:51
:) 当前线程默认为 -1 or GetCurrentThread
欢迎光临 TC官方合作论坛 (http://bbs.52tc.co/)
Powered by Discuz! X3.1