NFC: lockrange: add note about ancestor()
This commit is contained in:
committed by
Nathaniel Filardo
parent
6ca39403bf
commit
8f4cc1b4da
@@ -7,6 +7,9 @@ namespace snmalloc
|
||||
{
|
||||
/**
|
||||
* Protect the ParentRange with a spin lock.
|
||||
*
|
||||
* Accesses via the ancestor() mechanism will bypass the lock and so
|
||||
* should be used only where the resulting data races are acceptable.
|
||||
*/
|
||||
struct LockRange
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user