[Gimp-developer] Multithreaded plug-in
Michael Natterer
mitch at gimp.org
Wed May 16 08:45:16 PDT 2007
On Wed, 2007-05-16 at 18:12 +0300, Aurimas Juška wrote:
> hi,
>
> I was trying to create a multithreaded plug-in but call to
> gimp_image_duplicate from worker thread results in the following
> message and worker thread deadlocks.
> (webexport:4097): LibGimp-WARNING **: unexpected proc return message
> received (should not happen)
> What am I doing wrong?
There is zero thread-safety in the wire protocol. Just don't do it.
Call PDB functions only from the main thread.
ciao,
--mitch
More information about the Gimp-developer
mailing list