RE: [NTDEV] Queue Management ...

> ----------

From: Eliyas Yakub[SMTP:xxxxx@microsoft.com]
Reply To: NT Developers Interest List
Sent: Monday, July 09, 2001 7:44 PM
To: NT Developers Interest List
Subject: [ntdev] RE: [NTDEV] Queue Management …

>“Gary G. Little” wrote in message:
>
> >Why has there never been an ExInterlockedRemoveEntryList to permit an
> >orthagonal, and atomic, management of doubly linked queues?
>
> The question boils down to, where did you get the pointer to the object
> you
> want to remove? If you had to traverse the list to find it then you
> already had to have the list locked in which case, when you find it you
> can
> just use RemoveEntryList. You can certainly come up with cases of
> having
> an arbitrary pointer to an object but the normal case is you had to get
> that
> pointer from somewhere. Anyway, that’s why.
>
Well, this is the way of thinking typical for DDKs :frowning: Somebody at
Microsoft makes the decision which is sufficient for DDK examples but bad
for the real world. The results are incomplete headers, documentation and
API as in this case. Yes, I also missed ExInterlockedRemoveEntryList and
implemented it myself.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com