Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] How to use both select and waitpid ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Berke Durak <berke@a...>
Subject: [Caml-list] How to use both select and waitpid ?
Ok it's not absolutely Caml-specific, but here's my problem.

I'm doing a sort of network server that forks some children and
processes their output. So I need to do asynchronous I/O on sockets
(which implies use of but I also need to waitpid for
children. How do I do this ? I was hoping that select would return
with EINTR on receipt of SIGCHLD, but this isn't the case (even if
I've unblocked the signal and set its handler to something). Could
some Unix guru explain me this ? Thanks a lot.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: