diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-04-16 19:33:59 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-04-16 19:33:59 +0200 |
commit | 4950155eb67d219b9d0ab04728573714a01526a4 (patch) | |
tree | 41c0e519d336f477e651894ac154f77bc8e1cf84 /src/common/thread.h | |
parent | ca434e0e7af61a9c8d911dd79eeec03789f012ae (diff) | |
parent | a032b3b995bf33b65e575b64784edfff7236f616 (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); |