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

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




Joel Sherrill commented on a discussion on cpukit/posix/src/aio_misc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109544

 > +    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

EINVAL I guess. It is a catchall for bad parameter.
And it looks like the indentation on 441-442 is off.

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


More information about the bugs mailing list