?????????????C??????????????????п???C???????????У?????????????????????????β?????????C??????????????????????????????????????????????????????????????????????????????????????????????Щ????

?????????????????????????Win32???????????????????API??Application Program Interface??????????API???????????API???????????????????????κ??漰???????????API????ɡ?????????????????в???????API?????????????????????????????????????????????API?????????????????

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ó???????????????????????????????????????????????????????API??????????????????????????淶??????????????????API???????????????????????????????????????????

????????????????????????????Windows??Linux???′???????????????????????????????????????????????????????????????м?????м???У??м?????????ε????????????????????C???????????????м??????á?????????£????????C??????е??????????????????????????????????????????C?????????????????????????????????????????????C???????????API????????????????

????????C?????????????????????????????????????????C????????м?????????

????????????????????????????????????????C?????????????????????????????????????????????У???????????????API????????ЩAPI??C????????ж?????????????????????????????API??????????API????????????????????????????????????????????????д????????????????????????????????Щ??Ρ??????????????????1??????′?????????????????????????????

#ifndef _WINDOWS_
       CreateThread();      //windows?????????
#else
       Pthread_create();    //Linux?????????
#endif
????????????????????????????????磺
#ifndef _WINDOWS_
       #include <windows.h>
#else
       #include <thread.h>
#endif

????????????????????????????????????????#define??????????????????????????

??????????????????????C??C++?????????????м??????????????????????????????????????????????????????????????????????£?????????±???