[hackers] [wmii] [python] Fix 9P muxing deadlock. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 10 Jul 2010 00:00:13 +0000 (UTC)

changeset: 2762:62b4df6791c6
user: Kris Maglione <kris_AT_suckless.org>
date: Fri Jul 09 17:48:54 2010 -0400
files: alternative_wmiircs/python/pyxp/asyncclient.py
description:
[python] Fix 9P muxing deadlock.

diff -r 8661a94bfc27 -r 62b4df6791c6 alternative_wmiircs/python/pyxp/asyncclient.py
--- a/alternative_wmiircs/python/pyxp/asyncclient.py Fri Jul 09 17:48:46 2010 -0400
+++ b/alternative_wmiircs/python/pyxp/asyncclient.py Fri Jul 09 17:48:54 2010 -0400
@@ -75,7 +75,7 @@
         fcall.fid = yield path, callback, fail
         resp = yield fcall
         yield self._file(self, origpath or '/'.join(path), resp, fcall.fid, mode,
- cleanup=lambda: self._clunk(fcall.fid))
+ cleanup=lambda: self._aclunk(fcall.fid))
 
     def aopen(self, path, callback=True, fail=None, mode=OREAD):
         assert callable(callback)
Received on Sat Jul 10 2010 - 02:00:13 CEST

This archive was generated by hypermail 2.2.0 : Sat Jul 10 2010 - 02:12:04 CEST