[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] POP3 code changes
From: |
Jeff Bailey |
Subject: |
Re: [bug-mailutils] POP3 code changes |
Date: |
Mon, 23 Dec 2002 17:26:01 -0800 |
User-agent: |
Mutt/1.3.28i |
On Mon, Dec 23, 2002 at 06:18:10PM -0500, Alain Magloire wrote:
> >
> > > I missed something along the way here - Why would we drop support for
> > > thread-safety?
> >
> > Really, why would we? Another question is, it is not proven the
> It is hard to get right and the overall complexity could not be worth.
> Lots of mail applications non-threaded.
I would argue then for at least coarse locking. Both the MUAs I've used
recently (evolution and mozilla) are very threaded. I think it would be
fine to have a global lock that we called on entering the code, and an
unlock on exit.
> > libmailbox is thread-safe. We do have provisions for cancellation
> > points, but have we tested this? I mean have anybody tried to
> > use libmailutils in a real multithreaded application?
> Yes, it was tested on an application call "phemail" (it was rename,...
> marketing did not like the sound of it, the developers tried PMS ...
> (Photon Mail System) but for some reason PMS, did not survive either).
ROFL!
> complexity is an exponential for the number of bugs, the size and
> the maintainance nightmare ... Should be able to make some sort
> of mathematic equations with this.
Would a very simple locking mechanism like I propose be good enough?
- Re: [bug-mailutils] POP3 code changes, (continued)
- Re: [bug-mailutils] POP3 code changes, Sergey Poznyakoff, 2002/12/23
- [bug-mailutils] mailutils todo, Alain Magloire, 2002/12/23
- Re: [bug-mailutils] POP3 code changes, Sam Roberts, 2002/12/25
- Re: [bug-mailutils] POP3 code changes, Jeff Bailey, 2002/12/23
- Re: [bug-mailutils] POP3 code changes, Sergey Poznyakoff, 2002/12/23
- Re: [bug-mailutils] POP3 code changes, Jeff Bailey, 2002/12/23
- Re: [bug-mailutils] POP3 code changes, Alain Magloire, 2002/12/23
- Message not available
- Re: [bug-mailutils] POP3 code changes, Jeff Bailey, 2002/12/23
- Re: [bug-mailutils] POP3 code changes, Sergey Poznyakoff, 2002/12/23
- Re: [bug-mailutils] POP3 code changes, Alain Magloire, 2002/12/23
- Message not available
- Re: [bug-mailutils] POP3 code changes,
Jeff Bailey <=
- Re: [bug-mailutils] POP3 code changes, Alain Magloire, 2002/12/23
- Message not available
- Re: [bug-mailutils] POP3 code changes, Jeff Bailey, 2002/12/23