mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2026-06-06 05:12:10 -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.connect(rsp_addr)
|
||||
|
||||
self.tq = queue.Queue(0)
|
||||
self.tq = queue.Channel()
|
||||
|
||||
self.taskmap = weakref.WeakValueDictionary()
|
||||
if start: self.start()
|
||||
|
||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ def setup_responder(addrs, rq):
|
||||
|
||||
def main(addrs):
|
||||
# Channel holding (addr, task) pairs.
|
||||
tq = queue.Queue(0)
|
||||
tq = queue.Channel()
|
||||
# Queue holding response messages (as a list of raw zmq frames).
|
||||
rq = queue.Queue()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user