mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2026-07-21 11:13:16 -04:00
Queue -> Channel
This commit is contained in:
Vendored
+1
-1
@@ -30,7 +30,7 @@ class RenderClient(object):
|
|||||||
self.rsock.setsockopt(zmq.IDENTITY, self.cid)
|
self.rsock.setsockopt(zmq.IDENTITY, self.cid)
|
||||||
self.rsock.connect(rsp_addr)
|
self.rsock.connect(rsp_addr)
|
||||||
|
|
||||||
self.tq = queue.Queue(0)
|
self.tq = queue.Channel()
|
||||||
|
|
||||||
self.taskmap = weakref.WeakValueDictionary()
|
self.taskmap = weakref.WeakValueDictionary()
|
||||||
if start: self.start()
|
if start: self.start()
|
||||||
|
|||||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ def setup_responder(addrs, rq):
|
|||||||
|
|
||||||
def main(addrs):
|
def main(addrs):
|
||||||
# Channel holding (addr, task) pairs.
|
# Channel holding (addr, task) pairs.
|
||||||
tq = queue.Queue(0)
|
tq = queue.Channel()
|
||||||
# Queue holding response messages (as a list of raw zmq frames).
|
# Queue holding response messages (as a list of raw zmq frames).
|
||||||
rq = queue.Queue()
|
rq = queue.Queue()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user