Hi, I have a common question about locks:
class SetPointer { private: void *ptr; MY_LOCK lock; public: void SetPointer(void *p) { Lock(this->lock); this->ptr = p; } void *GetPointer() { Lock(this->lock); return this->ptr; } }; Just a question, is this lock redundant, when the Pointer can be set/ get from different threads? Thanks a lot!! Bye, moerchendiser2k3 -- http://mail.python.org/mailman/listinfo/python-list