Locks and memory pointer

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re: Locks and memory pointer

Post by Candy »

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.
Post Reply