Signals

Not intended for new applications.This mechanism is deprecated for delivery of user-generated custom signals. As signal delivery is possible inside RPC call, doing so breaches client-server separation. Users needing synchronization mechanism should migrate to notify_objectwait_for_object

If thread doesn’t register any signal handler, then signal arrival is effectively a no-op for given thread. In any case, arrival of signal will wake thread up, if it is stopped.

Function-like Macros

SIGALRM

SIGKILL

SIGSTOP

SIGCONT

SIGSEGV

int CMRX_API signal_handler(int signo, void(*sighandler)(uint32_t))

Returns 0. Mostly.

int CMRX_API signal(int signo, void(*sighandler)(uint32_t))

Alias for

int CMRX_API send_signal(int thread, uint32_t signal)

Send a signal to the thread.

thread recipient thread id

signal signal number 0. Mostly.

Returns 0. Mostly.

int CMRX_API kill(int thread, uint32_t signal)

Alias for

← Shared memory Standard API →