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