大家好,又见面了,我是你们的朋友全栈君。
HANDLE m_hListenThread = CreateThread(NULL, 0 , ThreadProc, this, 0, NULL);
DOWRD WINAPI ThreadProc(LPVOID lpParameter)
{
xxxx *pxxx = (xxxx*) lpParameter;
while(TRUE)
{
//dosomething
Sleep(100);
}
return TRUE;
}
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/157483.html原文链接:https://javaforall.cn
友情链接:
Copyright © 2022 世界杯金靴_足球小子世界杯 - ffajyj.com All Rights Reserved.