what if...

we in this community start open source nt kernel classes project? would it
be interesting? for example I have some classes for strings (single class
for both unicode and ansi), registry, log-packets etc.

Regards,
Max


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

Yes, it would be interesting.

What I like even more is a single class that looks and behaves the same,
or as nearly as possible, in user-mode and kernel-mode. Typically, this
means one carefully crafted header, and two separate implementation files.

I have also found templates interesting in at least one aspect besides
the traditional uses writing containers: when writing a class that needs
some kind of multi-thread synchronization support, such as a list to be
used in a driver or multithreaded app. In this case, you want to use a
spinlock for some uses, an ERESOURCE for other, a CRITICAL_SECTION in
an app, or a mutex in a multi-process solution. Rather than leaving the
lock outside the class (such that it clutters your code and you might
forget to use it everywhere), the lock primitive can be a parameter to a
list template. You just wrap each of the lock primitives with a thin
class (inline methods == no runtime overhead) that gives them a consistent
“interface” (I don’t mean virtuals, just consistently named inlines).
This allows the template to call “m_lock.AcquireExclusive()” without
knowing the nature of the lock implementation.


Dave Cox
Hewlett-Packard Co.
NSSO/SNS/SRM (Santa Barbara)
https://ecardfile.com/id/Dave+Cox

-----Original Message-----
From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
Sent: Monday, June 18, 2001 4:13 AM
To: NT Developers Interest List
Subject: [ntdev] what if…

we in this community start open source nt kernel classes
project? would it
be interesting? for example I have some classes for strings
(single class
for both unicode and ansi), registry, log-packets etc.

Regards,
Max


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