From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 7 Dec 2005 13:43:00 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] alarm() and threads.. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Topicbox-Message-UUID: bd61f4b8-ead0-11e9-9d60-3106f5b1d025 > > What do you want the program to do when the user types Delete? > Generally a clean up, closing open files etc. Then install a handler with threadnotify and have it clean up if strcmp(note, "interrupt")=3D=3D0. Russ