Top "Signals" questions

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

How to avoid using printf in a signal handler?

Since printf is not reentrant, it's not supposed to be safe to use it in a signal handler. But I've …

c linux signals
SIGKILL signal Handler

I have a requirement to write to a log file on reception of any terminate command like SIGTERM AND SIGKILL. …

linux signals sigkill
Initializing an array of records in VHDL

I have an record defined as follows type ifx_t is record data : std_logic_vector(127 downto 0); address : std_logic_…

arrays signals vhdl records
Golang catch signals

I want to implement a "process wrapper" in Go. Basically what it will do, is launch a process (lets say …

go signals system-calls
Kill or terminate subprocess when timeout?

I would like to repeatedly execute a subprocess as fast as possible. However, sometimes the process will take too long, …

python timeout subprocess kill signals
POSIX threads and signals

I've been trying to understand the intricacies of how POSIX threads and POSIX signals interact. In particular, I'm interested in: …

c pthreads signals
Set and Oldset in sigprocmask()

I haven't completely understood, how to use sigprocmask(). Particularly, how the set and oldset and its syntax work and how …

c posix signals sigprocmask
What does SEGV_ACCERR mean?

I am examining a few crashes that all have the signal SIGSEGV with the reason SEGV_ACCERR. After searching for …

c++ objective-c c signals
Convolution Vs Correlation

Can anyone explain me the similarities and differences, of the Correlation and Convolution ? Please explain the intuition behind that, not …

image-processing signals signal-processing correlation convolution
Qt connect two signals together using QueuedConnection

Qt documentation states that it is possible to connect two signals together: It is even possible to connect a signal …

qt thread-safety signals slot