Article View: news.software.nntp
Article #42065Re: Nasty little bug in Diablo dnewslink
From: Brad Knowles
Date: Thu, 09 Dec 1999 00:00
Date: Thu, 09 Dec 1999 00:00
35 lines
2707 bytes
2707 bytes
In article <384ecea7$0$18512@news.zetnet.co.uk>,
pm@nowster-zetnet.co.uk (Paul Martin) wrote:
> I believe accepted wisdom is that it's best if the program is designed to
> be multithreaded from the beginning.
Understood. However, in the case of Diablo I don't have much choice.
I don't believe for a moment that I would be in the least bit
capable of writing a multi-threaded news server from scratch, while I
might be capable of teaching myself enough about multi-threaded
programming that I could succeed in taking Diablo from a single threaded
fork/exec model into something that would be multi-threaded.
> I can only talk about the Stevens books, as those are the ones I have.
Fair enough. Even that much would be appreciated.
> Unix Network Programming Vol 2 is the one to go for, but it may dwell on
> other topics than the pthread_* calls too much to make it an easy
> reference, as against a tutorial on the many ways of doing multiprocess
> networking, which it's very good at.
Hmm. A tutorial is something I could really use. Hopefully once I
understood the examples, I could then start applying that to the
existing real-world code that I would be trying to make multi-threaded.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Technical Details
Message-ID:
<brad-BA8DE5.10115309121999@news.skynet.be>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<3846828f$0$18507@news.zetnet.co.uk> <A6K14.1646$Sz5.241286@ptah.visi.com> <384b0113$1$18510@news.zetnet.co.uk> <brad-8B1C20.11035306121999@news.skynet.be> <384bc4be$0$96894@news.execpc.com> <MCY24.2540$Sz5.371542@ptah.visi.com> <brad-3C4507.23265807121999@news.skynet.be> <384E737E.426D@i66.net> <brad-F78FC6.17320908121999@news.skynet.be> <384ecea7$0$18512@news.zetnet.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <brad-BA8DE5.10115309121999@news.skynet.be> Subject: Re: Nasty little bug in Diablo dnewslink Date: Thu, 09 Dec 1999 00:00:00 +0000 From: Brad Knowles <brad@shub-internet.org> References: <3846828f$0$18507@news.zetnet.co.uk> <A6K14.1646$Sz5.241286@ptah.visi.com> <384b0113$1$18510@news.zetnet.co.uk> <brad-8B1C20.11035306121999@news.skynet.be> <384bc4be$0$96894@news.execpc.com> <MCY24.2540$Sz5.371542@ptah.visi.com> <brad-3C4507.23265807121999@news.skynet.be> <384E737E.426D@i66.net> <brad-F78FC6.17320908121999@news.skynet.be> <384ecea7$0$18512@news.zetnet.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 558492759 Mail-Copies-To: poster X-Complaints-To: abuse@skynet.be X-Trace: news0.skynet.be 944730712 6602 195.238.1.121 (9 Dec 1999 09:11:52 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ User-Agent: MT-NewsWatcher/3.0 (PPC) NNTP-Posting-Date: 9 Dec 1999 09:11:52 GMT Newsgroups: news.software.nntp