mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Invitation API and two (untested) implementations.
This commit is contained in:
@@ -219,7 +219,10 @@ abstract class StreamConnection implements DatabaseListener {
|
||||
while(writerFlags == 0) {
|
||||
try {
|
||||
wait();
|
||||
} catch(InterruptedException ignored) {}
|
||||
} catch(InterruptedException e) {
|
||||
if(LOG.isLoggable(Level.WARNING))
|
||||
LOG.warning(e.getMessage());
|
||||
}
|
||||
}
|
||||
flags = writerFlags;
|
||||
writerFlags = 0;
|
||||
@@ -256,7 +259,10 @@ abstract class StreamConnection implements DatabaseListener {
|
||||
while(writerFlags == 0) {
|
||||
try {
|
||||
wait();
|
||||
} catch(InterruptedException ignored) {}
|
||||
} catch(InterruptedException e) {
|
||||
if(LOG.isLoggable(Level.WARNING))
|
||||
LOG.warning(e.getMessage());
|
||||
}
|
||||
}
|
||||
flags = writerFlags;
|
||||
writerFlags = 0;
|
||||
|
||||
Reference in New Issue
Block a user