• Rusty Russell's avatar
    tdb: locking cleanup · b2c0ebc6
    Rusty Russell authored
    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).
    b2c0ebc6
io.c 12 KB