interp/windows/include/winthread.h
2025-08-19 07:49:22 -07:00

20 lines
313 B
C

#pragma once
#include <windows.h>
#define MAX_THREADS 10
typedef struct {
// Add any data members you need for your specific task
// ...
// Add synchronization objects if needed
CRITICAL_SECTION lock;
} TaskData;
typedef struct {
HANDLE hThread;
TaskData* pData;
} ThreadPoolThread;