#include static DWORD WINAPI thread_entry (void *arg) { return 0; } int main () { DWORD threadId; while (1) { CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); CreateThread (NULL, 0, thread_entry, NULL, 0, &threadId); } }