RTEMS | Draft: cpukit/posix/aio*: Create notification at request completion (!118)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jul 18 16:06:25 UTC 2024




Joel Sherrill commented on a discussion on testsuites/psxtests/psxaio04/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109545

 > +  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 );
 > +}
 > +
 > +

free_aiocb does not need a space after the free function name or a cast of the parameter.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109545
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/20240718/0212ac8c/attachment.htm>


More information about the bugs mailing list