Using Gdk::Pixbuf from multiple threads.



Hello. I'm trying to scale (make thumbnails) of pictures in a thread pool. But I get random
crashes. The program (in the slot that goes to the thread pool) uses Gdk::Pixbuf to scale
images.
I push a task to the thread pool but I don't know why, it crashes. Is Gdk::Pixbuf thread-safe?
I'm forgetting anything? I use Glib::thread_init at the beginning of the program. Do I need to
use gdk_threads_init()? Thanks in advance.


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