On Wed, 10 May 2000, Aki Honkasuo wrote:
> I have problem with posix threads. I have used gdk_threads_enter() and
> gdk_threads_leave() also. Code is generated by glade. I have to create
> threads for fractal calculation/drawing. My program will jamm if I kill a
> window of program windows by clicking 'X'. The program will not jamm if I
> close window by useing gtk_widget_hide(). The window is not the drawing
> area window.
You are not calling gdk_threads_enter() from a signal handler by any
chance? You only need to call gdk_threads_enter/leave from threads other
than the one gtk_main was run in, or any non signal handler callbacks (eg
timeouts and idle functions). You will cause a deadlock if you call it
from a signal handler.
>
> - Sorry my poor english
>
> Aki "Aksu" Honkasuo Peace, Love E-Mail: [EMAIL PROTECTED]
> Punkkerikatu 1 B 30 and Voice: +358 (0)50 533 5336
> Fin-53850 Lappeenranta Free Software http://www.lut.fi/~honkasuo/
>
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.