with pulse_attach() we can receive a pulse through a function. the
int func(message_context_t *ctp, int code, unsigned flags, void
That works correctly, pulse code ok, but I don’t know where to find the
value associated with the pulse:
I tried ctp->msg->pulse.value.sival_int, but it seems that it’s always
equal to 0.
On the client side, the sigevent structure is initialized like that:
SIGEV_PULSE_INIT(&event, coid, SIGEV_PULSE_PRIO_INHERIT,
and the server call MsgDeliverEvent().