Message241718
Raymond, okay, thanks.
Eryksun, I've written a FUSE file system (for $DAYJOB) and when I switched over to using threads I would occasionally experience errors such as 'thread.local object does not have attribute ...'; as soon as I found the SO answer and moved the call to 'threading.local()' to the global scope, the problem vanished.
To reliably detect the problem I started approximately 10 threads, each getting an os.listdir() 1,000 times of an area on the FUSE. |
|
Date |
User |
Action |
Args |
2015-04-21 15:44:53 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, docs@python, eryksun |
2015-04-21 15:44:53 | ethan.furman | set | messageid: <1429631093.8.0.165246986635.issue24020@psf.upfronthosting.co.za> |
2015-04-21 15:44:53 | ethan.furman | link | issue24020 messages |
2015-04-21 15:44:53 | ethan.furman | create | |
|