Message260381
"If this usage is not supported (...)"
You can use threads, but access concurrently asyncore/asynchat from different threads. You have to build a communicate channel between your threads using thread-safe primitive like queue.Queue. asyncio has a builtin support for that: loop.call_soon_threadsafe().
Why not using asyncio instead of having to rebuild your own implementation? |
|
Date |
User |
Action |
Args |
2016-02-17 09:07:39 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov, ngg |
2016-02-17 09:07:39 | vstinner | set | messageid: <1455700059.27.0.514907630837.issue26371@psf.upfronthosting.co.za> |
2016-02-17 09:07:39 | vstinner | link | issue26371 messages |
2016-02-17 09:07:38 | vstinner | create | |
|