From: Yedidya Feldblum Date: Wed, 10 Jan 2018 06:39:16 +0000 (-0800) Subject: Tweak FutexResult comments X-Git-Tag: v2018.01.15.00~23 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=e7f26d60480810d6c2b724130e35761d75af33fc Tweak FutexResult comments Summary: [Folly] Tweak `FutexResult` comments. Reviewed By: nbronson Differential Revision: D6673979 fbshipit-source-id: 1777311cd93d5a83432c4ebb48a8432a1c504ca9 --- diff --git a/folly/detail/Futex.h b/folly/detail/Futex.h index 000bf1a6..630ad696 100644 --- a/folly/detail/Futex.h +++ b/folly/detail/Futex.h @@ -29,10 +29,10 @@ namespace folly { namespace detail { enum class FutexResult { - VALUE_CHANGED, /* Futex value didn't match expected */ - AWOKEN, /* futex wait matched with a futex wake */ - INTERRUPTED, /* Spurious wake-up or signal caused futex wait failure */ - TIMEDOUT, + VALUE_CHANGED, /* futex value didn't match expected */ + AWOKEN, /* wakeup by matching futex wake, or spurious wakeup */ + INTERRUPTED, /* wakeup by interrupting signal */ + TIMEDOUT, /* wakeup by expiring deadline */ }; /**