Searched refs:mtx2 (Results 1 – 5 of 5) sorted by relevance
7 pthread_mutex_t mtx1, mtx2; variable40 pthread_mutex_lock(&mtx2); // no-warning in ok4()41 pthread_mutex_unlock(&mtx2); // no-warning in ok4()68 pthread_mutex_lock(&mtx2); // no-warning in ok8()69 pthread_mutex_unlock(&mtx2); // no-warning in ok8()99 pthread_mutex_destroy(&mtx2); // no-warning in ok12()114 pthread_mutex_unlock(&mtx2); // no-warning in ok14()115 pthread_mutex_destroy(&mtx2); // no-warning in ok14()136 pthread_mutex_init(&mtx2, NULL); // no-warning in ok17()151 pthread_mutex_destroy(&mtx2); // no-warning in ok19()[all …]
6 pthread_mutex_t mtx2; variable10 pthread_mutex_lock(&mtx2); in Thread1()12 pthread_mutex_unlock(&mtx2); in Thread1()37 pthread_mutex_init(&mtx2, 0); in main()44 pthread_mutex_destroy(&mtx2); in main()
6 pthread_mutex_t mtx2; variable17 pthread_mutex_lock(&mtx2); in Thread2()19 pthread_mutex_unlock(&mtx2); in Thread2()38 pthread_mutex_init(&mtx2, 0); in main()45 pthread_mutex_destroy(&mtx2); in main()
6 pthread_mutex_t mtx2; variable11 pthread_mutex_lock(&mtx2); in Thread1()13 pthread_mutex_unlock(&mtx2); in Thread1()37 pthread_mutex_init(&mtx2, 0); in main()44 pthread_mutex_destroy(&mtx2); in main()
6 pthread_mutex_t mtx2; variable20 pthread_mutex_lock(&mtx2); in Thread2()23 pthread_mutex_unlock(&mtx2); in Thread2()43 pthread_mutex_init(&mtx2, 0); in main()51 pthread_mutex_destroy(&mtx2); in main()