1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-12 12:25:01 -05:00
hexchat/src/common/thread.h

11 lines
185 B
C
Raw Normal View History

2011-02-28 12:59:32 -05:00
#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);