hrydgard / minitrace

Simple C/C++ library for producing JSON traces suitable for Chrome's built-in trace viewer (about:tracing).
MIT License
373 stars 64 forks source link

event_mutex deadlock #27

Closed lgpseu closed 4 years ago

lgpseu commented 4 years ago

https://github.com/hrydgard/minitrace/blob/3eac396f8f21e111f28fdd5d846131b327ccced9/minitrace.c#L479 it should be "pthread_mutex_unlock(&event_mutex);"

hrydgard commented 4 years ago

thanks, fixed.