- pthread_t self = pthread_self();
-
- ret = pthread_mutex_lock(&urcu_mutex);
- if (ret) {
- perror("Error in %s pthread mutex lock", __func__);
- exit(-1);
- }
-
- urcu_remove_reader(self);
-
- ret = pthread_mutex_unlock(&urcu_mutex);
- if (ret) {
- perror("Error in %s pthread mutex unlock", __func__);
- exit(-1);
- }
-