RTEMS | C++ std::mutex has no error checks (#5641)
Wayne Thornton (@wmthornton-dev)
gitlab at rtems.org
Mon Jul 13 02:13:14 UTC 2026
Wayne Thornton commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5641#note_154342
Running the same test on Fedora 43 (WSL) with `uname -a` output of: `Linux THORNWM-STMD 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026 x86_64 GNU/Linux` succeeds without a core dump or illegal instruction.
Test output is:
`./mutex_exception
locking test
main: m1 at0x7ffe781083a0
main: lock: m1
t1: unlock: m at 0x7ffe781083a0`
Compiled with command: `gcc -o mutex_exception mutex_exception.cpp -lstdc++ -pthread`
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5641#note_154342
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-e3yarif27zte569szdcuhlmuj-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260713/0fdfc931/attachment.htm>
More information about the bugs
mailing list