[NBLUG/talk] Preforking and IPC

Karlan Mitchell karlanmitchell at comcast.net
Sun Dec 5 13:30:26 PST 2004


Can anyone point me to any tutorials on preforking servers (in C) with 
some IPC. should I use pipes/sockets, or is there a better solution?

Also, one problem I am having with my webserver IPC is polling for data. 
I can have 1) a while that eats resources, 2) a sleep-go while which 
doesn't give the reponse time I'm looking for. Is there any accept-like 
methods I may use?

My linux question:
Are POSIX threads going to be my best choice on this platform?

Webserver link:
http://karlan.us.to/cgi-bin/khttpd.cgi




More information about the talk mailing list