Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just acquire a read lock on for preparation.
A read lock will prevent modification of the slots, which is probably all we really need. Any other thread simply does not survive the fork, and the current thread can't have a wrtie lock, because we never call callback or return to the applciation with a write lock held. Signed-off-by: Simo Sorce <simo@redhat.com>
- Loading branch information