blob: d492c48b47b8b3e828323fbe7988cbe0d74227d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <u.h>
#include <libc.h>
#include <thread.h>
void
proc(void *v)
{
sleep(5*1000);
print("still running\n");
}
void
threadmain(int argc, char **argv)
{
proccreate(proc, nil, 32768);
}
|