lkml.org 
[lkml]   [1999]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Mark Russinovich's reponse Was: [OT] Comments to WinNT Mag !! (fwd)
On Tue, 4 May 1999, Mark H. Wood wrote:

> Ugh. I liked the VMS model here. When you queue an I/O request, one
> of the things you can attach to it is the address of a procedure. When
> the request completes, the kernel creates a temporary thread to
> execute the I/O rundown code, and part of that rundown is to call the
> procedure you supplied. Your procedure would typically move something
> from a wait queue to a work queue, or flip a bit in a bitmask, or link
> a buffer onto the free chain, or whatever it takes to indicate that
> your regular thread(s) should do whatever you want done when the I/O
> has completed. When you return, the rundown thread tidies up and
> destroys itself. (Of course, if you never return, or you try to do
> huge amounts of processing in your rundown procedure, your program
> won't work very well. Don't do that. Keep it short and simple.)

SYS$QIO & its friend SYS$QIOW. Cool system calls.

Cheers,
Alex
--
"A mind opened by new ideas can never return to its original limits"

http://www.tahallah.demon.co.uk


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.156 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site