[Top][All Lists]

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

Re: [Pan-devel] Big Pan code commit

From: K. Haley
Subject: Re: [Pan-devel] Big Pan code commit
Date: Sat, 11 Dec 2004 01:56:52 -0700
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Charles Kerr wrote:

I've just checked in code to Pan that uses nonblocking communication with the news server rather than the previous blocking, one-thread-per-communication model. As a result Pan is no longer a threaded application ("threads" as in pthreads, not article threading), so I was also able to remove about a thousand lines of now-unnecessary pthread code.

Removing pthreads is the big-hammer way to get rid of pthread bugs, so this should make for a more intrinsically stable Pan once any new-code bugs are stomped out.

The new code's worked fine for me for the last week of testing under normal use (setting up new accounts, fetching group lists, new headers, reading articles, posting, and decoding binaries), so I've checked it in for wider testing. If anyone's interested, please give it a spin from CVS.

I'll pull the thread related code out of the DB code I've written. I think I can change the delayed db update to use timers instead of threads. This might even simplify a few things for me.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]