From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 30 Dec 2013 17:06:17 -0800 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20131231010617.GA10407@dinah> References: <3377fb7342a3ff404eae1ba724f11130@mikro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3377fb7342a3ff404eae1ba724f11130@mikro> Subject: Re: [9fans] 9front sleep interrupted in kproc? Topicbox-Message-UUID: a9d089d4-ead8-11e9-9d60-3106f5b1d025 erik quanstrom once said: > since kprocs don't get notes (it's an error to write to the note file), > sleep in a kproc can't get interrupted. this code will never fire. It looks like they can on 9front. The following is from pc/vgavesa.c:/^vesaproc /* * dont wait forever here. some BIOS get stuck * in i/o poll loop after blank/unblank for some * reason. (Thinkpad A22p) */ procalarm(10000); Cheers, Anthony