Re: [PATCH] safe for when threading, related to gnome_show_url (was Re: request for help)
- From: Pawel Salek <pawsa theochem kth se>
- To: Albrecht Dreß <albrecht dress arcormail de>
- Cc: balsa mailing-list <balsa-list gnome org>
- Subject: Re: [PATCH] safe for when threading, related to gnome_show_url (was Re: request for help)
- Date: Tue, 21 Aug 2001 21:09:05 +0200
On 2001.08.21 20:04 Albrecht Dreß wrote:
> Am 21.08.2001 16:21:50 schrieb(en) Pawel Salek:
> > I attach a preleminary patch that should take care of the hang when
> > clicking on URLs. Please, give it a try if you have observe this
> > problem.
>
> For me (I don't have a smp machine, but compiled balsa with threads) this
> patch freezes balsa when I try to open the second url in one session.
> [snip]
>
> IMHO, this is just the wrong approach. If I understand the man page of
> pthread_atfork() correctly, then the handlers are *installed* by calling
> it, but never removed. Calling it multiple times, all installed handlers
> ar called
> in LIFO/FIFO order. So upon the second call of balsa_gnome_url_show(),
> all handlers will be called twice...
After giving it a second thought, I agree with you...
/Pawel
--
-----
Pawel Salek, pawsa@theochem.kth.se
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]