Skip to content
Snippets Groups Projects
Commit 97bd99e1 authored by Petr Rockai's avatar Petr Rockai
Browse files

test: Add a missing mutex unlock to a pthread_cancel() test.

parent 58958370
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,8 @@ void *a_thread_func(void *dummy)
return (void*)PTS_UNRESOLVED;
}
pthread_mutex_unlock(&mutex);
/* Should get here if the cancel request was deffered. */
pthread_cleanup_pop(0);
cleanup_flag=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment