Locks and memory pointer
Re: Locks and memory pointer
In my opinion, you can't control the granularity of access. That in my opinion means you can't lock stuff implicitly and have it work as well as manual locking. There is no way to specify locking less or more than that pointer. You can't lock a full struct by a struct-member-pointer nor can you lock a single element from an array.