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

Alessandro Nardin (@AlessandroNardin) gitlab at rtems.org
Thu Jul 18 14:21:31 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_109541

 > +    case SIGEV_SIGNAL:
 > +      result = sigqueue(
 > +        getpid(),
 > +        sig->sigev_signo,
 > +        sig->sigev_value
 > +      );
 > +      if ( result != 0 ){
 > +      }
 > +      break;
 > +
 > +    case SIGEV_THREAD:
 > +      pthread_t thread;
 > +      pthread_attr_t *attr = sig->sigev_notify_attributes;;
 > +
 > +      if ( sig->sigev_notify_function == NULL ){
 > +        //handle error

Since there are no specification about that, what error code should return on a wrong sigevent struct ?

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


More information about the bugs mailing list