do I need to lock & unlock here...
If I have a function like this should I put CritSel' around it? As if two threads came at the same time it would create two seperate pointer locations so no conflicts, as it returns the pointer?
Example not actual code
clsCat *catOne = new clasCat;
new is thread-safe, so there's no point in using a mutex here.
Lovely jubbly :)
Topic archived. No new replies allowed.