🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40526

Re: INN maxed? Time to add a Diablo router?

#40526
From: Andrew Gierth
Date: Tue, 05 Oct 1999 00:00
16 lines
1690 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

 Russ> When I was trying to figure out how I would do this, one of the
 Russ> worries I had about threading with blocking I/O is that it
 Russ> feels like it would prevent you from doing an orderly shutdown
 Russ> of the entire news system in a bounded amount of time.  Or am I
 Russ> missing something?

You have to handle timeouts somehow anyway; you can't just sit forever
in read(). So you use the same mechanism (whether it's poll(),
signals, or SO_RCVTIMEO) to handle shutdown too.

-- 
Andrew.

Technical Details
Message-ID: <87k8p1ldpk.fsf@erlenstar.demon.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
References: <foo-0210991412200001@192.168.2.3> <ylr9jbdsan.fsf@windlord.stanford.edu> <7tb517$bsu$1@newssvr02.news.prodigy.com> <ylpuyuakvk.fsf@windlord.stanford.edu> <37f94ee5$0$7742@news.execpc.com> <7tcv4u$te4$1@nnrp1.deja.com> <brad-0510991640350001@brad.techos.skynet.be> <yl1zb9pmx1.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <87k8p1ldpk.fsf@erlenstar.demon.co.uk>
Subject: Re: INN maxed? Time to add a Diablo router?
Date: Tue, 05 Oct 1999 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <foo-0210991412200001@192.168.2.3> <ylr9jbdsan.fsf@windlord.stanford.edu> <7tb517$bsu$1@newssvr02.news.prodigy.com> <ylpuyuakvk.fsf@windlord.stanford.edu> <37f94ee5$0$7742@news.execpc.com> <7tcv4u$te4$1@nnrp1.deja.com> <brad-0510991640350001@brad.techos.skynet.be> <yl1zb9pmx1.fsf@windlord.stanford.edu>
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: 533228806
X-Mayan-Date: Long count = 12.19.6.10.12; tzolkin = 12 Eb; haab = 0 Yax
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha