Re: Threads !!!



Are you referring to gdk_threads_mutex ?. 

What would be the use of a thread lock here

On Wed, 1 May 2002, James Henstridge wrote:

> 
> 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?
> 
> James.
> 
> 

-- 





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