From b68f9f3cfecc23c7f1af128256e652cdb2c04a80 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 18 Nov 2022 21:35:35 -0700 Subject: [PATCH] [machinery] Adjust comment --- src/hb-machinery.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index 1f9249758..56669b970 100644 --- a/src/hb-machinery.hh +++ b/src/hb-machinery.hh @@ -228,7 +228,8 @@ struct hb_lazy_loader_t : hb_data_wrapper_t 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); }