Re: Fwd: Re: gnome_show_url() hangs in threaded programs [pawsa theochem kth se]
- From: Emmanuel <e allaud wanadoo fr>
- To: balsa-list gnome org
- Subject: Re: Fwd: Re: gnome_show_url() hangs in threaded programs [pawsa@theochem.kth.se]
- Date: Fri, 24 Aug 2001 11:27:19 +0200
One more remark, it seems that using libgthread reverse the child and
parent in the switch : here are the messages when linked with libpthread
mythread, i=0
ATFORK: prepare_parent
ATFORK: resume_parent
ATFORK: resume_child
Child is here
Parent, waiting for child 11471
Main thread waits for the thread to join.
mythread, i=1
mythread, i=2
mythread, i=3
mythread, i=4
and with libgthread :
mythread, i=0
Parent, waiting for child 11482
Child is here
[hangs]
and same with _exit replacing exit :
mythread, i=0
Parent, waiting for child 11494
Child is here
Main thread waits for the thread to join.
mythread, i=1
mythread, i=2
mythread, i=3
mythread, i=4
Bye
Manu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]