| Index: runtime/bin/eventhandler_linux.cc
|
| diff --git a/runtime/bin/eventhandler_linux.cc b/runtime/bin/eventhandler_linux.cc
|
| index e95def62e03fac42e76faef28f8767d2b4110b68..a14f12574d05e5221d04f250532d0c269e61388b 100644
|
| --- a/runtime/bin/eventhandler_linux.cc
|
| +++ b/runtime/bin/eventhandler_linux.cc
|
| @@ -168,6 +168,7 @@ void EventHandlerImplementation::WakeupHandler(intptr_t id,
|
| // WriteToBlocking will write up to 512 bytes atomically, and since our msg
|
| // is smaller than 512, we don't need a thread lock.
|
| // See: http://linux.die.net/man/7/pipe, section 'Pipe_buf'.
|
| + ASSERT(kInterruptMessageSize < PIPE_BUF);
|
| intptr_t result =
|
| FDUtils::WriteToBlocking(interrupt_fds_[1], &msg, kInterruptMessageSize);
|
| if (result != kInterruptMessageSize) {
|
|
|