Commit e7f26d60 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Tweak FutexResult comments

Summary: [Folly] Tweak `FutexResult` comments.

Reviewed By: nbronson

Differential Revision: D6673979

fbshipit-source-id: 1777311cd93d5a83432c4ebb48a8432a1c504ca9
parent e229101b
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
namespace folly { namespace detail { namespace folly { namespace detail {
enum class FutexResult { enum class FutexResult {
VALUE_CHANGED, /* Futex value didn't match expected */ VALUE_CHANGED, /* futex value didn't match expected */
AWOKEN, /* futex wait matched with a futex wake */ AWOKEN, /* wakeup by matching futex wake, or spurious wakeup */
INTERRUPTED, /* Spurious wake-up or signal caused futex wait failure */ INTERRUPTED, /* wakeup by interrupting signal */
TIMEDOUT, TIMEDOUT, /* wakeup by expiring deadline */
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment