Made rwlock_t call do_pulse.