Commit 5df02869 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected a possible race codition

parent 9d120d12
......@@ -271,7 +271,9 @@ void yp_recheck_config (ice_config_t *config)
}
}
thread_rwlock_unlock (&yp_lock);
thread_rwlock_wlock(&yp_lock);
yp_update = 1;
thread_rwlock_unlock(&yp_lock);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment