blob: fc2ebb52597991dcd8ddc90eea4693efaac86adc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <u.h>
#include <libc.h>
#include <thread.h>
void
f(void *v)
{
USED(v);
recvp(chancreate(sizeof(void*), 0));
}
void
threadmain(int argc, char **argv)
{
proccreate(f, nil, 32000);
exit(1);
}
|