RSS/Atom feed Twitter
Site is read-only, email is disabled

Multithreaded plug-in

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Multithreaded plug-in Aurimas Juška 16 May 17:12
  Multithreaded plug-in Michael Natterer 16 May 17:45
Aurimas Juška
2007-05-16 17:12:32 UTC (over 17 years ago)

Multithreaded plug-in

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?

Michael Natterer
2007-05-16 17:45:16 UTC (over 17 years ago)

Multithreaded plug-in

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