Scoped interceptor should not be used when calling real pthread_exit().
On macOS C++ destructors are not called by pthread_exit(), and later check for empty thread ignore set fails.
Patch by Yuri Per.
Differential D57963
Fix Die() after pthread_exit call on macOS yuri on Feb 8 2019, 10:43 AM. Authored by
Details Scoped interceptor should not be used when calling real pthread_exit(). Patch by Yuri Per.
Diff Detail
Event Timeline
|
Why do we need SCOPED_INTERCEPTOR like this if we do nothing inside of its scope?
BTW. I am trying to remove it completely as Dmitry suggested r353552