tdb: locking cleanup
Explicitly split lock and unlock, for future replacement with user-supplied functions. Use explicit flags enum for marking, blocking and probing. Indicate upon unlock whether we had a read or write lock (POSIX doesn't care, but wrappers might, and it's nice to be explicit).
Showing
This diff is collapsed.
Please register or sign in to comment