Skip to content
Snippets Groups Projects
Commit 58d8fea6 authored by Erica Weistrand's avatar Erica Weistrand
Browse files
parent 9170cf91
No related branches found
No related tags found
No related merge requests found
...@@ -3017,5 +3017,11 @@ come at you rapidly. ...@@ -3017,5 +3017,11 @@ come at you rapidly.
"Style Invitational Report from Week 278" published "Style Invitational Report from Week 278" published
August 2, 1998 August 2, 1998
% %
fhhrihir c1
%
c2
%
c4
%
c3
% %
...@@ -3017,5 +3017,11 @@ come at you rapidly. ...@@ -3017,5 +3017,11 @@ come at you rapidly.
"Style Invitational Report from Week 278" published "Style Invitational Report from Week 278" published
August 2, 1998 August 2, 1998
% %
fhhrihir c1
%
c2
%
c4
%
c3
% %
...@@ -144,7 +144,10 @@ class Server(orb.Peer): ...@@ -144,7 +144,10 @@ class Server(orb.Peer):
for key, value in self.peer_list.peers.items(): for key, value in self.peer_list.peers.items():
if (self.id != key): if (self.id != key):
value.write_local([fortune]) try:
value.write_local([fortune])
except:
pass
finally: finally:
self.drwlock.write_release() self.drwlock.write_release()
......
...@@ -46,7 +46,6 @@ class DistributedReadWriteLock(readWriteLock.ReadWriteLock): ...@@ -46,7 +46,6 @@ class DistributedReadWriteLock(readWriteLock.ReadWriteLock):
self.lock.acquire() self.lock.acquire()
self.distributed_lock.acquire() self.distributed_lock.acquire()
self.write_acquire_local() self.write_acquire_local()
time.sleep(6)
pass pass
def write_release(self): def write_release(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment