Branch Coverage

lib/SPVM/Builder/src/spvm_mutex.c
Criterion Covered Total %
branch 6 12 50.0


line true false branch
53 0 523031 SAFE_PTHREAD(pthread_rwlock_init((pthread_rwlock_t*)mutex, NULL));
57 0 520166 SAFE_PTHREAD(pthread_rwlock_destroy((pthread_rwlock_t*)mutex));
61 0 10869204 SAFE_PTHREAD(pthread_rwlock_wrlock((pthread_rwlock_t*)mutex));
65 0 10869204 SAFE_PTHREAD(pthread_rwlock_unlock((pthread_rwlock_t*)mutex));
69 0 312367 SAFE_PTHREAD(pthread_rwlock_rdlock((pthread_rwlock_t*)mutex));
73 0 312367 SAFE_PTHREAD(pthread_rwlock_unlock((pthread_rwlock_t*)mutex));