commit 96d6b19dcd4f359c3fa8eefcb8615082c840e184 from: rsc date: Tue Dec 28 01:36:53 2004 UTC new test program commit - 2c87dda8f89e84082523b03b62c5d47d55c13341 commit + 96d6b19dcd4f359c3fa8eefcb8615082c840e184 blob - /dev/null blob + 5ac9768ff8dbbdbfa9edbb4f744eb116e8ed5b61 (mode 644) --- /dev/null +++ src/libthread/test/tdaemon.c @@ -0,0 +1,11 @@ +#include +#include +#include + +void +threadmain(int argc, char **argv) +{ + threaddaemonize(); + sleep(5*1000); + print("still running\n"); +}