mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-01 07:55:06 -04:00
12 lines
202 B
C
12 lines
202 B
C
#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);
|