Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 03:14:04 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        mjacob@feral.com
Cc:        Mike Smith <msmith@FreeBSD.ORG>, Amit Shah <amitshah@techie.com>, freebsd-arch@FreeBSD.ORG
Subject:   Re: threaded device drivers 
Message-ID:  <200108181014.f7IAE4J10122@mass.dis.org>
In-Reply-To: Your message of "Sat, 18 Aug 2001 01:17:50 PDT." <Pine.BSF.4.21.0108180115380.53463-100000@beppo> 

next in thread | previous in thread | raw e-mail | index | archive | help
> An example of this is the QLogic driver (isp(4)) spawns a thread that is used
> to rebuild loop state and rescan the loop and fabric port databases after an
> asynchronous event brings a notification of change.

You can do this with the taskqueue mechanism too; since you have a 
notification event.

> Threads are not nearly lightweight enough yet to provide, say, offlevel
> processing such as RSX-11 or VMS provided.

Taskqueue does this well too.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108181014.f7IAE4J10122>