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