PIL threading problems

Paul Rubin no.email at nospam.invalid
Tue May 29 23:09:36 EDT 2012


Kind of a long shot, but are there known problems in calling PIL from
multiple threads?  I'm getting weird intermittent core dumps from my
app, no idea what's causing them, but PIL is the only C module I'm
using, and I do see some mention on the interwebs that there might
be an issue:

  http://lists.tiker.net/pipermail/pycuda/2009-March/001393.html

Any suggestions?  Would it be enough to put a lock around the PIL
calls that I use?

Thanks.



More information about the Python-list mailing list