miyuriの日記: スレッドを作るコストは思ったより安い
エラー処理?
(´・ω・`)しらんがな。
とりあえず、debug buildで。
使っているDLL次第で高くなる。//append
#include <Windows.h>
#include <tchar.h>
#include <stdio.h>
#include <process.h>DWORD WINAPI threadAPI(LPVOID pContext);
DWORD WINAPI threadAPI_pool(LPVOID pContext);
unsigned __stdcall threadCRT(void *pContext);
int __cdecl dummy(void *pContext);