Re: [Gimp-developer] Multithreaded plug-in

2007-05-16 Thread Michael Natterer
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

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Multithreaded plug-in

2007-05-16 Thread Aurimas Juška
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?
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer