Sign in
plan9port
/
plan9
/
3fe9465ac99f9aa3a23f71f01df9e097f0c1da87
/
.
/
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
);
}