Changeset 2f14616
- Timestamp:
- Aug 3, 2009 2:03:01 PM (15 years ago)
- Branches:
- version-1.30
- Children:
- 3cbf9eb
- Parents:
- 59f3d1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r59f3d1f r2f14616 53 53 """ 54 54 self.ll = l 55 self.lock = Lock()55 self.lock = RLock() 56 56 def write(self, str): 57 57 """ … … 262 262 263 263 self.state = { } 264 self.state_lock = Lock()264 self.state_lock = RLock() 265 265 self.tclsh = "/usr/local/bin/otclsh" 266 266 self.tcl_splitter = config.get("splitter", "tcl_splitter") or \ … … 2303 2303 self.state_lock.acquire() 2304 2304 for key in [ k for k in self.state.keys() if isinstance(k, fedid)]: 2305 self.check_experiment_access(fid, key) 2305 try: 2306 self.check_experiment_access(fid, key) 2307 except service_error, e: 2308 if e.code == service_error.access: 2309 continue 2310 else: 2311 self.state_lock.release() 2312 raise e 2306 2313 2307 2314 if self.state.has_key(key):
Note: See TracChangeset
for help on using the changeset viewer.