Tweak FutexResult comments
[folly.git] / folly / detail / Futex.h
index 000bf1a62dcfad7ebfac2acdf1fc437307600498..630ad6963927f2433ae98a6c9e67daacdf75b11e 100644 (file)
 namespace folly { namespace detail {
 
 enum class FutexResult {
 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 */
 };
 
 /**
 };
 
 /**