int semrc;
semrc = pthread_rwlock_init(rwlock, NULL);
if(semrc != 0) {
if (
LOCK_DEBUG("semrc=%d [%s] RWLOCK INIT", semrc, strerror(errno));
debug_crash();
}