From 3c21396a4fcfee1a91c9b61b7030832568c66878 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sat, 9 Oct 2010 12:51:46 +0200 Subject: Backed out changeset: cb5901bb1890 --- src/common/thread.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/common/thread.h (limited to 'src/common/thread.h') 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 + +typedef struct +{ + DWORD threadid; + int pipe_fd[2]; +} thread; + +thread *thread_new (void); +int thread_start (thread *th, void *(*start_routine)(void *), void *arg); -- cgit 1.4.1