From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20031103194506.1128.qmail@g.bio.cse.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] halting fossil (patch wannabe) In-reply-to: References: From: Scott Schwartz Date: Mon, 3 Nov 2003 14:45:06 -0500 Topicbox-Message-UUID: 7e5a86c6-eacc-11e9-9e20-41e7f4b1d025 | Several people have asked about halting fossil before reboot. I'm | sure people running fossil regularly have their own scripts to do it, Unix has the convention of sending everyone a signal or two when reboot time is near. It sounds like we need something analgous. To be more in the spirit of Plan 9, maybe it could be something along the lines of opening /mnt/suicide-pact and politely exiting when you get a close on the descriptor or else being sent a note when the suicide server exits, which would happen when someone wrote into the control file. A specialization of this might let a cohort of rfork created threads all go away when one of them does.