Backed out changeset: cb5901bb1890

This commit is contained in:
berkeviktor@aol.com
2010-10-09 12:51:46 +02:00
parent c1fc5eb08f
commit 3c21396a4f
4 changed files with 335 additions and 3 deletions

10
src/common/thread.h Normal file
View File

@@ -0,0 +1,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);