RTEMS | Draft: cpukit/posix/aio*: Create notification at request completion (!118)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Fri Jul 19 16:00:01 UTC 2024
Alessandro Nardin commented on a discussion on testsuites/psxtests/psxaio04/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109609
> + aiocbp->aio_fildes = fd;
> + return aiocbp;
> +}
> +
> +void free_aiocb( struct aiocb *aiocbp )
> +{
> + free ((char*) aiocbp->aio_buf);
> + free (aiocbp);
> +}
> +
> +void notify (union sigval sig)
> +{
> + kill(getpid(), sig.sival_int );
> +}
> +
> +
I don't know if it is what you meant, but removing the cast generates a warning.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109609
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/416459fc/attachment-0001.htm>
More information about the bugs
mailing list