realtime library: struct sigevent introduce

struct sigevent:

This element specifies how the calling process is notified once the operation terminates. If the `sigev_notify' element is `SIGEV_NONE', no notification is sent. If it is
`SIGEV_SIGNAL', the signal determined by `sigev_signo' is sent. Otherwise, `sigev_notify' must be `SIGEV_THREAD'.  In this case, a thread is created which starts executing the function pointed to by `sigev_notify_function'.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章