Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 20:15:51 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Nick Hibma <hibma@skylink.it>
Cc:        FreeBSD hackers mailing list <hackers@freebsd.org>
Subject:   Re: scheduling a function call from int routines
Message-ID:  <Pine.BSF.4.05.9903232014450.78570-100000@herring.nlsystems.com>
In-Reply-To: <Pine.BSF.3.96.990323004029.905A-100000@heidi.plazza.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Mar 1999, Nick Hibma wrote:

> 
> I want to schedule a function call from an interrupt routine. How do I
> do that? timeout?
> 
> As in, a USB returns in an interrupt the message the fact that the
> connection status of one of the ports or suspend status has changed. I
> cannot start checking the ports from that interrupt routine, because I
> need to transfer data to the device to make that work.
> 
> thanks.

I think you need a kernel thread, either spawned during system startup or
via a system call from usbd.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903232014450.78570-100000>