thread in c
/**内部代码*/#include#includeusingnamespacestd;inttickets=100;intmux1=0;intmux2=0;DWORDWINAPIfunc1(LPVOIDlp);DWORDWINAPIfunc2(LPVOIDlp);intmain(){HANDLEh1,h2;h1=CreateThread(NULL,0,func1,NULL,0,NULL);h2=CreateThread(NULL,0,func2,N
下载地址
用户评论