How to send value (uint32_t) through as result of armed notify() ?
Q <no@spam.pl> wrote:
How to send value (uint32_t) through as result of armed notify() ?
If you’re using SIGEV_PULSE you can use
(struct sigevent *)->sigev_value.sival_int.
Regards,
-seanb
If you’re using SIGEV_PULSE you can use
(struct sigevent *)->sigev_value.sival_int.
I’m doing it like that:
notify[IOFUNC_NOTIFY_INPUT].list->event.sigev_value.sival_int =
items_to_read_count;
iofunc_notify_trigger(notify, items_to_read_count, IOFUNC_NOTIFY_INPUT);
but it doesn’t work - the program hangs up