RTEMS | Draft: cpukit/posix/aio*: Create notification at request completion (!118)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Fri Jul 19 18:17:24 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_109629
>
> +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 ){
I've added it just below the variable declaration, is this okay or should i put it inside some `#ifdef [SOMETHING]` directive?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109629
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/55a715c6/attachment.htm>
More information about the bugs
mailing list