Message116722
To be a bit more constructive, why not add something like this in paragraph to http://docs.python.org/library/ctypes.html#callback-functions:
"Note that if the callback function is called in a new thread that has been created outside of Python's control (i.e., by the foreign code that calls the callback), ctypes creates a new dummy Python thread on every invocation. That means that values stored with `threading.local` will *not* survive across different callbacks. |
|
Date |
User |
Action |
Args |
2010-09-17 21:16:10 | nikratio | set | recipients:
+ nikratio, amaury.forgeotdarc, ncoghlan, verigak, swapnil, anacrolix, docs@python |
2010-09-17 21:16:10 | nikratio | set | messageid: <1284758170.03.0.525759141973.issue6627@psf.upfronthosting.co.za> |
2010-09-17 21:16:08 | nikratio | link | issue6627 messages |
2010-09-17 21:16:08 | nikratio | create | |
|