Re: Simultaneous Multiprocessing and Multithreading in GIMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Liam,
Thanks for the answer.

On Sat, 26 Oct 2019 at 16:25, Liam R E Quin <liam@xxxxxxxxxxx> wrote:

> On Sat, 2019-10-26 at 15:30 +0330, Ahmad Nouralizadeh via gimp-
> developer-list wrote:
> >  AFAIK, using fork
> > and multithreading is not recommended (e.g., look at the second
> > answer here, Is it safe to fork from within a thread?
>
> It's “not recommended” in the same way that using a knife to cut your
> meat is not recommended: you could hurt yourself.
>
> As you can see from that stackoverflow question, there can be problems
> if you don't call exec() right away in the child process after a
> fork(). Which GIMP does, avoiding the problems.
>
> This is why GIMP does not deadlock when you run a plugin.
>
> slave liam (ankh)
>
>
> --
> Liam Quin - web slave for https://www.fromoldbooks.org/
> with fabulous vintage art and fascinating texts to read.
> Click here to have the slave beaten.
>
>
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list




[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux