[machinery] Adjust comment

This commit is contained in:
Behdad Esfahbod 2022-11-18 21:35:35 -07:00
parent a47ba1dc0e
commit b68f9f3cfe
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ struct hb_lazy_loader_t : hb_data_wrapper_t<Data, WheresData>
bool cmpexch (Stored *current, Stored *value) const bool cmpexch (Stored *current, Stored *value) const
{ {
/* This *must* be called when there are no other threads accessing. */ /* This function can only be safely called directly if no
* other thread is accessing. */
return this->instance.cmpexch (current, value); return this->instance.cmpexch (current, value);
} }