Index: runtime/bin/thread_android.cc |
diff --git a/runtime/bin/thread_android.cc b/runtime/bin/thread_android.cc |
index ce27ea322691b0680f9cd50c7c82511ca3370b1b..cee224d2cfadc78fc85aab3bddb9a6889c4ef049 100644 |
--- a/runtime/bin/thread_android.cc |
+++ b/runtime/bin/thread_android.cc |
@@ -8,7 +8,7 @@ |
#include "bin/thread.h" |
#include "bin/thread_android.h" |
-#include <errno.h> // NOLINT |
+#include <errno.h> // NOLINT |
#include <sys/time.h> // NOLINT |
#include "platform/assert.h" |
@@ -17,29 +17,29 @@ |
namespace dart { |
namespace bin { |
-#define VALIDATE_PTHREAD_RESULT(result) \ |
- if (result != 0) { \ |
- const int kBufferSize = 1024; \ |
- char error_message[kBufferSize]; \ |
- Utils::StrError(result, error_message, kBufferSize); \ |
- FATAL2("pthread error: %d (%s)", result, error_message); \ |
+#define VALIDATE_PTHREAD_RESULT(result) \ |
+ if (result != 0) { \ |
+ const int kBufferSize = 1024; \ |
+ char error_message[kBufferSize]; \ |
+ Utils::StrError(result, error_message, kBufferSize); \ |
+ FATAL2("pthread error: %d (%s)", result, error_message); \ |
} |
#ifdef DEBUG |
-#define RETURN_ON_PTHREAD_FAILURE(result) \ |
- if (result != 0) { \ |
- const int kBufferSize = 1024; \ |
- char error_message[kBufferSize]; \ |
- Utils::StrError(result, error_message, kBufferSize); \ |
- fprintf(stderr, "%s:%d: pthread error: %d (%s)\n", \ |
- __FILE__, __LINE__, result, error_message); \ |
- return result; \ |
+#define RETURN_ON_PTHREAD_FAILURE(result) \ |
+ if (result != 0) { \ |
+ const int kBufferSize = 1024; \ |
+ char error_message[kBufferSize]; \ |
+ Utils::StrError(result, error_message, kBufferSize); \ |
+ fprintf(stderr, "%s:%d: pthread error: %d (%s)\n", __FILE__, __LINE__, \ |
+ result, error_message); \ |
+ return result; \ |
} |
#else |
-#define RETURN_ON_PTHREAD_FAILURE(result) \ |
- if (result != 0) { \ |
- return result; \ |
+#define RETURN_ON_PTHREAD_FAILURE(result) \ |
+ if (result != 0) { \ |
+ return result; \ |
} |
#endif |
@@ -61,8 +61,7 @@ static void ComputeTimeSpecMicros(struct timespec* ts, int64_t micros) { |
class ThreadStartData { |
public: |
- ThreadStartData(Thread::ThreadStartFunction function, |
- uword parameter) |
+ ThreadStartData(Thread::ThreadStartFunction function, uword parameter) |
: function_(function), parameter_(parameter) {} |
Thread::ThreadStartFunction function() const { return function_; } |