Skip to content

Commit 7fb3ef5

Browse files
committed
gthr_aux: Prevent duplication of epilogue of __MCF_gthr_call_once_seh()
1 parent 433a18f commit 7fb3ef5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mcfgthread/gthr_aux.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ __MCF_gthr_call_once_seh(_MCF_once* __once, __MCF_cxa_dtor_any_ __init_proc, voi
180180

181181
__MCF_ASSERT(__err == 1);
182182
__MCF_gthr_call_once_seh_take_over(__once, __init_proc, __arg);
183+
_MCF_signal_fence_acq();
183184
}
184185

185186
__MCF_GTHR_AUX_INLINE

0 commit comments

Comments
 (0)