From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: Fco.J.Ballesteros To: 9fans@cse.psu.edu Subject: Re: [9fans] Question regarding interrupt handlers In-Reply-To: <1049900092.4070.35.camel@utip129> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ihvfzsdwsoopfjzuzeeqhmzuoc" Date: Wed, 9 Apr 2003 17:00:35 +0200 Topicbox-Message-UUID: 8d882cd0-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ihvfzsdwsoopfjzuzeeqhmzuoc Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit if you have to do something in `background' out of the interrupt handler you can just create a kernel thread for the task. --upas-ihvfzsdwsoopfjzuzeeqhmzuoc Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Wed Apr 9 16:57:37 MDT 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id EC88019A2F; Wed, 9 Apr 2003 10:57:08 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from netlx010.civ.utwente.nl (netlx010.civ.utwente.nl [130.89.1.92]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4A73619A0C for <9fans@cse.psu.edu>; Wed, 9 Apr 2003 10:56:59 -0400 (EDT) Received: from utip129 (utip129.cs.utwente.nl [130.89.144.14]) by netlx010.civ.utwente.nl (8.11.4/HKD) with ESMTP id h39Euux05877 for <9fans@cse.psu.edu>; Wed, 9 Apr 2003 16:56:56 +0200 From: Martijn Punt To: 9fans@cse.psu.edu Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Message-Id: <1049900092.4070.35.camel@utip129> Mime-Version: 1.0 X-UTwente-MailScanner: Found to be clean Subject: [9fans] Question regarding interrupt handlers Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: 09 Apr 2003 16:54:52 +0200 Hi, I'm relatively new to Plan 9 (and this mailinglist) and am currently developing a device driver for a satellite tv-card for plan 9. My previous experience is limited to Linux, and have a question about interrupt handlers: How do interrupt handlers in Plan 9 cope with large amounts of work having to be done in order to handle an interrupt? Is there a way to split the task in two parts, one to be handled immediately and the other to be executed at a more convenient time? Are there standard approaches for this problem in Plan 9, similar to the approach of tasklets and bottom half processing in Linux? Any help will be greatly appreciated, Greets Martijn Punt --upas-ihvfzsdwsoopfjzuzeeqhmzuoc--