diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-27 09:07:09 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-27 09:07:09 +0200 |
commit | a11d1857f1f242199ea330e1679cf55e2771395b (patch) | |
tree | c57bdc180418073e25724d93d87491c3fa9c2e45 /src/common/thread.h | |
parent | f39d21328603673ee83c55a5d6d55b276cc8bdb8 (diff) | |
parent | 69ba67b2549b6c6a46abd19879b67e1545c9ae3b (diff) |
Merge with default
Diffstat (limited to 'src/common/thread.h')
-rw-r--r-- | src/common/thread.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/thread.h b/src/common/thread.h new file mode 100644 index 00000000..7ca0f937 --- /dev/null +++ b/src/common/thread.h @@ -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); |