bop-langs / rubybop

Safe parallel Ruby language based on BOP
6 stars 2 forks source link

Improve DM-Malloc's locking #128

Closed benohalloran closed 9 years ago

benohalloran commented 9 years ago

Either switch to CAS operations (preferred) or use one lock per size class. One lock per size class will require a malloc init function. If CAS is used, the split function may require it's own lock.