| Index: runtime/bin/eventhandler_android.cc
|
| diff --git a/runtime/bin/eventhandler_android.cc b/runtime/bin/eventhandler_android.cc
|
| index 975a6d1f5290739888a0a41e3a96c11d95dfd51e..9064be199539e4a8e5c5ed182e9f2ce9e13fc053 100644
|
| --- a/runtime/bin/eventhandler_android.cc
|
| +++ b/runtime/bin/eventhandler_android.cc
|
| @@ -163,6 +163,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) {
|
|
|