RTEMS | fix(posix): Prevent deadlock in aio_suspend (CID 1667285) (!954)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Feb 5 15:57:37 UTC 2026
Kinsey Moore started a new discussion on cpukit/posix/src/aio_suspend.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/954#note_141697
> suspendcbp->requests_left++;
>
> } else {
> + pthread_mutex_unlock( &aio_request_queue.mutex );
> pthread_mutex_lock( &request->suspendcbp->mutex );
Is the locking order defined somewhere? Is it actually safe to release the queue lock before completion of this section?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/954#note_141697
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/20260205/0594c56a/attachment-0001.htm>
More information about the bugs
mailing list