Re: Re[2]: terminating a system thread

You can always use the InterlockedXxx functions.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of rajinder sharma
Sent: Friday, May 18, 2001 12:24 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Re[2]: terminating a system thread

But what about if the read (in thread_A) and write (in thread_B) are
occuring at the same time on this variable?

>If you use it as a ‘one way street’, that means the thread that reads
>it will never write to it and other threads that write to it will never
>read it than you need no protection !


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


You are currently subscribed to ntdev as: xxxxx@pdq.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.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