зеркало из https://github.com/microsoft/snmalloc.git
NFC: lockrange: add note about ancestor()
This commit is contained in:
Родитель
6ca39403bf
Коммит
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
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче