We have a small daemon application written in C for a couple of various UNIX platforms (this problem is happening in SunOS 5.10), that basically just opens up a serial port ...
How can I implement signal Handling for Ctrl-C and Ctrl-D in C....So If Ctrl-C is pressed then the program will ignore and try to get the input from the user again...If ...
I am currently implementing a Producer/Consumers problem program. I have one parent and several child processes. Everything is working but now I need to make my program output each k milliseconds ...
The problem must be something pretty simple but..I can't figure out what it is. It should keep printing "alaarm" for some time, but it only does it once and then the ...
i have written a small piece of code. This code first blocks the {SIGSEGV}, then adds SIGRTMIN to the same set. So, my final signal set is, {SIGSEGV,SIGRTMIN}. Thus, if i ...
I have designed a message passing interface in c which is used to provide communication between different processes running in my system. This interface creates 10-12 threads for its purpose and ...
I posted this in the linux forums, but no one seems to know about this So here I go: I am doing a project to stimulate the scheduing policy of an OS under Unix Solaris. Its something like that: A process, say A will communicate to another process, which is the OS, and then execute the system call, pause(); The stimulated ...
Hi. I've created a program that will fork a few children. Problem is, some of these children requires a SIGUSR1 signal from the parent every now and then, and for each different child, the signal has a different meaning. Can anyone tell me how to catch the one signal, but perform different tasks, based on which child received the signal? (the ...