signal « unix « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » unix » signal 

1. Application receiving mysterious SIGINTs    stackoverflow.com

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 ...

2. Signal Handling in C    stackoverflow.com

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 ...

3. How do signal work?    stackoverflow.com

How do signal works in unix? I went through stevens but was unable to understand. Please help me.

4. Do signal() and alarm() work even when the process where they are run is busy? Or should I run it on another dedicated process?    stackoverflow.com

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 ...

5. Problem with signal/alarm in unix    stackoverflow.com

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 ...

6. sigprocmask( ) blocking signals in UNIX    stackoverflow.com

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 ...

7. receive SIGTERM    stackoverflow.com

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 ...

8. signal() return type    stackoverflow.com

I'm studying signal handling and I have a question about the return of signal:

void (*sighandler_t)(int);
I know it is a pointer to the previous function of the signal handler, but I don't ...

9. Signals in Unix Solaris    cboard.cprogramming.com

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 ...

10. Signals and multiprocesses in Unix?    forums.devshed.com

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 ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.