Commit 9ab16144 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a844fb03
...@@ -577,11 +577,9 @@ error _Conn::resync(zodb::Tid at) { ...@@ -577,11 +577,9 @@ error _Conn::resync(zodb::Tid at) {
// Now other calls, e.g. Conn.open, can be running simultaneously to us, // Now other calls, e.g. Conn.open, can be running simultaneously to us,
// but since we already set wconn.at to new value it is ok. For example // but since we already set wconn.at to new value it is ok. For example
// Conn.open, for not-yet-opened file, will use new at to send "watch". // Conn.open, for not-yet-opened file, will use new at to send "watch".
// XXX ^^^ not possible since wconn._filehMu is locked ?
// -> no, possible, wconn._filehMu became RWMutex
// //
// NOTE we are still holding wconn._filehMu.R, so wconn._filehTab is the // NOTE we are still holding wconn._filehMu.R, so wconn._filehTab and fileh
// same as in previous pass above. // states are the same as in previous pass above.
wconn._atMu.UnlockToRLock(); wconn._atMu.UnlockToRLock();
atMuWLocked = false; atMuWLocked = false;
......
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