RTEMS | Draft: cpukit/posix/aio*: Create notification at request completion (!118)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Fri Jul 19 14:02:48 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_109592
>
> +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 ){
The directives indentation should be right now. I turned the if in an assert.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109592
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/20240719/740a38c6/attachment-0001.htm>
More information about the bugs
mailing list