Quote:
Originally Posted by ShellShock
Or it could be a thread-safety problem. I don't know if send to device is single threaded or not; if not, then the bug could be due to lack of synchronisation across threads.
|
The device driver system in calibre is single threaded -- all device driver entry points are called on the same, dedicated thread. There are a few minor exceptions to this, which are documented in devices/interface.py, just search for thread.
Individual drivers are free to use multiple threads internally if they like.