RTEMS | cpukit/posix/src/pthreaddetach.c: fix pthreaddetach issue (!622)

坤 唐 (@tangkun) gitlab at rtems.org
Wed Jul 23 01:15:28 UTC 2025



坤 唐 created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/622

Project:Branches: tangkun/rtems:pthread_detach_test to rtems/rtos/rtems:main
Author:   坤 唐




## Summary

cpukit/posix/src/pthreaddetach.c: fix pthreaddetach issue

When calling pthread_detach on a thread which is already detached, it should return EINVAL.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/622
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/20250723/cfb57ea8/attachment.htm>


More information about the bugs mailing list