Re: Fwd: Re: gnome_show_url() hangs in threaded programs [pawsa theochem kth se]



On 2001-08-24 17:40 Toralf Lund wrote:
> What's that you're saying, you can't tell any difference? -OK, it took
> me quite long to spot it, too: libc and libpthread are swapped!
> 
> After I discovered this, I did
> 
> % cc atfork-test.c -lpthread -lc -o atfork-test
> 
> then
> 
> % cc atfork-test.c -lc -lpthread -o atfork-test
> 
> 
> and just as I suspected: The first version works OK, but the 2nd
> hangs!


I confirm that adding -lc at the end fixes the problem, also in the case
of balsa. I guess in the long term gthread should be fixed instead but
this workaround is the solution for today.

THANKS!! And have a nice weekend.

/Pawel
-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




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