Re: Threads !!!

Anil wrote:

I had no problems with gtk, when i am using them within a thread , by enclosing them within gdk_threads_enter and gdk_threads_leave.

But when i am using the gdk drawing functions like gdk_draw_line, gdk_draw_pixmap ...., i am gettting sync errors. How can i overcome this ?
Do you hold the thread lock while calling the drawing functions?


Email: james daa com au

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