Branch Coverage

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


line true false branch
53 0 531024 SAFE_PTHREAD(pthread_rwlock_init((pthread_rwlock_t*)mutex, NULL));
57 0 528219 SAFE_PTHREAD(pthread_rwlock_destroy((pthread_rwlock_t*)mutex));
61 0 11010703 SAFE_PTHREAD(pthread_rwlock_wrlock((pthread_rwlock_t*)mutex));
65 0 11010703 SAFE_PTHREAD(pthread_rwlock_unlock((pthread_rwlock_t*)mutex));
69 0 317937 SAFE_PTHREAD(pthread_rwlock_rdlock((pthread_rwlock_t*)mutex));
73 0 317937 SAFE_PTHREAD(pthread_rwlock_unlock((pthread_rwlock_t*)mutex));