Re: Thread created by g_thread _create() cannot write to memory

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

 



On Tuesday 16 August 2005 12:11, elmo wrote:
> I've made a simple program (any variable name mistakes not present in
> original program ;]) :

[snip]

It has been mentioned in another reply that you need to use the GTK lock in 
this case.

Although it hasn't caused your problem, you probably also want to note that 
g_thread_exit() doesn't do what you think it does.  (It exits the calling 
thread - it is not equivalent to p_thread_cancel()).  It also may or may not 
cause stack unwinding (destruction of local objects) depending on the 
threading implementation - with NPTL it will.

Chris
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux