RTEMS | Draft: cpukit/posix/aio*: Create notification at request completion (!118)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Wed Jul 17 13:23:02 UTC 2024
Alessandro Nardin commented on a discussion on cpukit/posix/src/aio_misc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109430
>
> +void rtems_aio_notify( struct sigevent *sig )
> +{
> + #ifdef RTEMS_POSIX_API
> + int result;
> + if (sig == NULL) { return; }
> +
> + switch ( sig->sigev_notify ) {
> +
> + case SIGEV_SIGNAL:
> + result = sigqueue(
> + getpid(),
> + sig->sigev_signo,
> + sig->sigev_value
> + );
> + if ( result != 0 ){
Now it should be correct
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109430
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240717/62221df5/attachment-0001.htm>
More information about the bugs
mailing list