标签:线程 参考 .net class cpp thread logs nap UI
windows创建线程
DWORD WINAPI Thread(LPVOID lpParam) { int *a = (int*)lpParam; return TRUE; } int a = 10; CreateThread(NULL,0,Thread,&a,0,0);
关于线程同步可以参考这篇文章
http://blog.csdn.net/zuishikonghuan/article/details/48208357
标签:线程 参考 .net class cpp thread logs nap UI
原文地址:http://www.cnblogs.com/hatsusakana/p/7639610.html