jeffpc / nx01

testing
MIT License
1 stars 0 forks source link

mem: do memobj need a lock of their own? #84

Open jeffpc opened 8 years ago

jeffpc commented 8 years ago

That is the question...

IOW, is there any reason for the mem backend to muck with memobj/memver structs without having the obj locked while the memobj/memver is reachable by other threads? If not, then there is no need for a lock like that, otherwise we need to add a lock.