Tweak FutexResult comments
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 10 Jan 2018 06:39:16 +0000 (22:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 10 Jan 2018 06:51:03 +0000 (22:51 -0800)
Summary: [Folly] Tweak `FutexResult` comments.

Reviewed By: nbronson

Differential Revision: D6673979

fbshipit-source-id: 1777311cd93d5a83432c4ebb48a8432a1c504ca9

folly/detail/Futex.h

index 000bf1a..630ad69 100644 (file)
 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 */
 };
 
 /**