SHANOS IPC almost done
Posted: Thu May 24, 2007 7:25 pm
heres the idea,
all SHANOS programs have a small window that displays the queue, IPC, etc.
this means they are connected directly to the IPC. signals (SIGINT, SIGILL, etc.) are sent to and from the IPC by servers and programs, since there is a copy of the queue in every program. The queue has an array with four "nodes" and several slots in each "node". when a signal is sent to the IPC, it completes the last signal it was processing, and then processes the next signal. If the program refuses to send the queue a signal within 3 min., the IPC sends the signal "SIGTERM" which kills all processes running in the program. i should have the source for my IPC later on my webpage.
[http:\\www.yoctsoft.tk]
all SHANOS programs have a small window that displays the queue, IPC, etc.
this means they are connected directly to the IPC. signals (SIGINT, SIGILL, etc.) are sent to and from the IPC by servers and programs, since there is a copy of the queue in every program. The queue has an array with four "nodes" and several slots in each "node". when a signal is sent to the IPC, it completes the last signal it was processing, and then processes the next signal. If the program refuses to send the queue a signal within 3 min., the IPC sends the signal "SIGTERM" which kills all processes running in the program. i should have the source for my IPC later on my webpage.
[http:\\www.yoctsoft.tk]