blob: 1ec6932dd9237364ed7fd87e2bd46d035eabe6d7 (
plain) (
tree)
|
|
#include <windows.h>
typedef struct
{
DWORD threadid;
int pipe_fd[2];
void *userdata;
} thread;
thread *thread_new (void);
int thread_start (thread *th, void *(*start_routine)(void *), void *arg);
|