]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: POSIX mq: avoid double calls to ipc_mutex_unlock
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 30 Apr 2021 08:30:21 +0000 (10:30 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 30 Apr 2021 08:30:21 +0000 (10:30 +0200)
commit548a4c3ca43543e66ec91df799379bc67a92804a
tree0605b2895f97c256d2d877cb0d329f9793b761e3
parent4f89f24fbeb5ccfbd7077878a5342bf62f722917
Cygwin: POSIX mq: avoid double calls to ipc_mutex_unlock

_mq_send as well as _mq_receive call ipc_mutex_unlock twice in case
of success, after having introduced __try/__except blocks.

Fixes: 3f3bd10104550 ("* Throughout, use __try/__except/__endtry blocks, rather than myfault handler.")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/posix_ipc.cc
This page took 0.026716 seconds and 5 git commands to generate.