> What makes you say so?  You can simply pass the CCriticalSection object
> reference to the CLockWhileExists's ctor, couldn't you?

Well, it was the fact that the thread proc didn't have access to the
class... I do bear in mind the idea of passing a pointer to the class to the
thread as the lParam but to be honest I didn't want the proc to have such
open access to things - I was trying to give it the minimum it needed
("tight coupling"?).

--
Jason Teagle
[EMAIL PROTECTED]




Reply via email to