|
-
Mar 11th, 2007, 10:25 PM
#1
Thread Starter
Lively Member
Re: [2005] Threading and Synchronization
PERFECT! Absolutely <expletive> PERFECT!!!
Damn JM your onto it mate! That is EXACTLY what I was looking for.
Using that theory, I could declare a member variable of type Object, instantiate it in the constructor and lock my critical sections using the same object each time? By using the same object instance I will create the desired effect, basically copy the SyncRoot feature. Yeah?
I was not properly conceptualizing the function of the lock object in the SyncLock statement...all clear now though.
Thanks AGAIN JM, you always seem to sort us out!
Matt.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|