Re: [pygtk] Use of gtk.threads_enter()

2003-01-28 Thread James Henstridge
Pablo Endres wrote:


	Hi Guys,

	I've been debugging an app and I think the problem
	comes from un inapropriate use of this insctruccion.

	I've checked around and found very little documentation
	about it.  Can anyone point me out on the correct use 
	of this instrction: when  why should I use it?
 

The threading in pygtk-1.99.x is not quite solid at the moment (which is 
why you need to manually enable it during configure).  If you are having 
troubles, I recommend you try the latest CVS version.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Use of gtk.threads_enter()

2003-01-24 Thread Pablo Endres

Hi Guys,

I've been debugging an app and I think the problem
comes from un inapropriate use of this insctruccion.

I've checked around and found very little documentation
about it.  Can anyone point me out on the correct use 
of this instrction: when  why should I use it?

thanks in advance

Pablo


-- 
Muchas personas creen que piensan,
cuando en realidad sólo están reordenando sus
prejuicios.
- William James

Pablo Endres
Centro de Datos

GSM:  +584127347610


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Use of gtk.threads_enter()

2003-01-24 Thread Oistein Aanensen
Use gtk.threads_enter() when you are inside a thread to every call to
gtk. Use it only in pair with gtk.threads_leave() when you are finished
interogating with gtk.

Why: Else will the program crash with segfault or X11 async.

Øistein

On Fri, 2003-01-24 at 14:25, Pablo Endres wrote:
 
   Hi Guys,
 
   I've been debugging an app and I think the problem
   comes from un inapropriate use of this insctruccion.
 
   I've checked around and found very little documentation
   about it.  Can anyone point me out on the correct use 
   of this instrction: when  why should I use it?
 
   thanks in advance
 
   Pablo
 
 
 -- 
 Muchas personas creen que piensan,
 cuando en realidad sólo están reordenando sus
 prejuicios.
 - William James
 
 Pablo Endres
 Centro de Datos
 
 GSM:  +584127347610
 
 
 ___
 pygtk mailing list   [EMAIL PROTECTED]
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/