syslet demos - collecting timer expirations and child status
Subsystems (2)
PATCH 3/3 syslet demos - collecting timer expirations and child status
wait-sleep uses the async_exec mechanism to collect timer expirations and child process wait status. It randomly fires off a number of sleeps and forks, waiting for them to finish, and firing off something new to replace anything that finishes.
--
Makefile | 4 + wait-sleep.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+)
Makefile +4 -0
@@ -17,3 +17,7 @@ evserver_epoll_threadlet: evserver_epoll aio-read: aio-read.c syslet.h sys.h Makefile gcc -O2 -g -Wall -o aio-read aio-read.c -fomit-frame-pointer + +wait-sleep: wait-sleep.c syslet.h sys.h Makefile + gcc -O2 -g -Wall -o wait-sleep wait-sleep.c -fomit-frame-pointer +
wait-sleep.c new file +123 -0
123 lines not on this page · raw message
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel