Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6.4
-
None
-
None
-
None
-
All
Description
Hi developers, in the below codes, the lock LOCK_thread_count could be not released before program's exit exit(1);. I think it is better to write pthread_mutex_unlock(&LOCK_thread_count); * before the *exit(1); for better resource management and code symmetry. Thanks!