Sign in
plan9port
/
plan9
/
8d7133308db580d2356d5d1dd30f0b9a1f0a7417
/
.
/
src
/
libthread
/
test
/
texit.c
blob: fc2ebb52597991dcd8ddc90eea4693efaac86adc [
file
]
#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
);
}