1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-02 08:25:04 -04:00
hexchat/plugins/dns/thread.h

12 lines
202 B
C
Raw Normal View History

2012-01-19 23:43:13 -05:00
#include <windows.h>
typedef struct
{
DWORD threadid;
int pipe_fd[2];
void *userdata;
} thread;
thread *thread_new (void);
int thread_start (thread *th, void *(*start_routine)(void *), void *arg);