I am porting an application from the SGI to my linux box (2.0.30). I
am trying to use the POSIX signal handling routines.
I have a couple of processes running at different speeds that need to
be synchronized periodically.
The SGI code successfully defines and uses several user-defined
signals (e.g., #define END_INIT 40) with the POSIX functions for
process synchronization. On Linux this signal isn't regcognized.
(There are a number of different processes so using SIGUSR1/2 won't be
Is there a limit as to the max value of signals under Linux? Can it be
If not, I may have to re-do the sync code - is there an advantage to
using signals over semaphores or vice versa?
Finally, if there is a good book that addreses the pros/cons of this
I'd like to know as well. I have the Gray book on IPC.
Thanks a bunch.
PS: Please also mail me directly - thanks.