Re: Thread programming



On Sat, Jun 14, 2003 at 04:39:24PM -0700, Justin Hopper wrote: 
I've read the FAQ on thread programming, but I must be missing something
fundamental on how they work.

Any help is greatly appreciated.

Thread lockups are generally one thread stuck on a lock that's owned
either by another thread or that was locked earlier by the same
thread.

So the first debugging step is to get a backtrace from the lockup,
which shows the problematic lock and the second lock attempt.
The first lock attempt is what you have to figure out, and then you
understand the problem.

A guess from your source - libglade isn't actually thread safe I don't
think, only plain GTK.

Havoc




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