Top "Signals" questions

A signal is a notification to a process that an event occurred.

Throwing an exception from within a signal handler

We have a library that deals with many aspects of error reporting. I have been tasked to port this library …

c++ exception signals
Is Python variable assignment atomic?

Let's say I am using a signal handler for handling an interval timer. def _aHandler(signum, _): global SomeGlobalVariable SomeGlobalVariable=True …

python signals
How does sig_atomic_t actually work?

How does the compiler or OS distinguish between sig_atomic_t type and a normal int type variable, and ensures …

c linux signals
cp: command not found

I am trying to copy one file to other directory and getting error message while interrupt is called. The Script : #!/…

linux bash signals cp bash-trap
how to pass qobject as argument from signal to slot in qt connect

My original code passed a QStringList from the signal to the slot and then returned a QList. Everything worked fine …

qt signals connect qobject slot
How to send a signal SIGINT from script to script?

I want to trap a signal send from Script-A.sh to Script-B.sh so in Script-A.sh i use the …

bash signals kill bash-trap
Lowpass Butterworth Filtering on MATLAB

I have been writing a very simple code to remove noise from a signal. The signal is just a sinusoidal …

matlab signals signal-processing lowpass-filter
Get signal names from numbers in Python

Is there a way to map a signal number (e.g. signal.SIGINT) to its respective name (i.e. "SIGINT")? …

python signals
GTK detecting window resize from the user

In GTK (or pygtk or gtkmm...) How can I detect that an application window has been manually resized by the …

gtk signals resize
Signal handling and sigemptyset()

Could anyone please explain in a really easy way to understand what sigemptyset() does? Why is it useful? I've read …

c process signals posix