[go: up one dir, main page]

Menu

[897c37]: / modules / thread.c  Maximize  Restore  History

Download this file

29 lines (22 with data), 485 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/select.h>
#include <netdb.h>
#include <errno.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <pthread.h>
Val * lpc_thread_create()
{
pthread_t * thr;
return Const(0);
#if 0
thr = (pthread_t *) malloc(sizeof(pthread_t));
// FIX: start function and args?
pthread_create(thr, NULL, NULL, NULL);
return make_object(thr);
#endif
}