Re: f0dder's Fabulous Wait States.
- From: "f0dder" <f0dder_nospam@xxxxxxxxxxxxxxxx>
- Date: Thu, 1 Sep 2005 10:07:29 +0200
> The argument on the dependence on polling technology cannot be lost
> for a very simple reason, with Von Neuman architecture (read
> SEQUENTIAL ACCESS TO INSTRUCTIONS AND MEMORY), current x86 processors
> just keep doing "one damned thing after another" but they do it very
> fast and with hardware support for task switching so it tends to LOOK
> LIKE parallel actions occuring at the same time.
>
> Herein lies the scale of f0dder's confusion.
And your point is? Forgot about hardware interrupts, perhaps? Ah yes,
you think "interrupt" has something to do with prevention :)
>> ReadFile, GetMessage, WaitFor*Object, and a lot of other functions,
>> are all blocking (with the exception of ReadFile in OVERLAPPED mode).
>
> ReadFile() with normal flags does not return until it reads the data
> into the supplied buffer, GetMessage() does not return until a message
> is available and the Wait state APIs set a system defined wait state
> and don't return until the condition has been signalled. The attempt
> to generalise across 3 entirely different function types is the
> indication of the level of confusion that f0dder suffers with system
> API calls.
....and the three of them have in common that they use blocking wait.
> Now f0dder wants to change the subject from the viability of system
> defined Wait states to a redefinition of the term "Block(ing)" so that
> anything that does not return is a blocking function.
No - anything that does a blocking wait are blocking. This is a pretty
well-defined term.
> ================================
> Uh... no. Not that your sentence made much sense. If you're going
> to make statements about the internal workings of windows, at
> least do yourself the favor of reading "Inside Windows 2000".
> ================================
>
> Even f0dder should know by now with his penchant for having
> consultations with the "colonel" that this data is out of date. None
> of the available lists of int 2Eh services are correct for the
> version of win2000 SP4 I use because Microsoft intentionally change
> them from version to version to slow up the idiot fringe with trojans
> and viruses.
So? "Inside Windows 2000" doesn't list int 2E service numbers, it
describes the general architecture the NT system is based on. One of
the authors of the book is from SysInternals (you know, the guys that
made process explorer among other things), and it's published by
Microsoft Press (those guys really *ought* to know something about the
operating system).
If you read that book, you'd know what "blocking wait" means. And you'd
know that *this* is the basis for the OS, not polling loops. You would
also know that ReadFile is implemented ontop of the asynchronous native
NT API file operation, and that it does a blocking wait to "not return
until file data is read"... among other things.
.
- Follow-Ups:
- Re: f0dder's Fabulous Wait States.
- From: hutch--
- Re: f0dder's Fabulous Wait States.
- References:
- Re: f0dder's Fabulous Wait States.
- From: f0dder
- Re: f0dder's Fabulous Wait States.
- From: hutch--
- Re: f0dder's Fabulous Wait States.
- From: f0dder
- Re: f0dder's Fabulous Wait States.
- From: hutch--
- Re: f0dder's Fabulous Wait States.
- From: f0dder
- Re: f0dder's Fabulous Wait States.
- From: hutch--
- Re: f0dder's Fabulous Wait States.
- Prev by Date: Re: ralf interrupt list problem
- Next by Date: Re: ralf interrupt list problem
- Previous by thread: Re: f0dder's Fabulous Wait States.
- Next by thread: Re: f0dder's Fabulous Wait States.
- Index(es):
Relevant Pages
|