summary refs log blame commit diff stats
path: root/src/common/thread.h
blob: 7ca0f9370272f1b1ea2baab1293a6aeb35697cb7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                         
#include <windows.h>

typedef struct
{
	DWORD threadid;
	int pipe_fd[2];
} thread;

thread *thread_new (void);
int thread_start (thread *th, void *(*start_routine)(void *), void *arg);