Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: runtime/vm/message_queue_test.cc

Issue 9141005: Change the thread interface in runtime/platform and use it starting all threads (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from asiva@ Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/message_queue_test.cc
diff --git a/runtime/vm/message_queue_test.cc b/runtime/vm/message_queue_test.cc
index e807b32d38ee70c48ce079d52326e2f2c5b17c07..66fb7f42dce198aa2d14afa085409063164c34fc 100644
--- a/runtime/vm/message_queue_test.cc
+++ b/runtime/vm/message_queue_test.cc
@@ -109,8 +109,8 @@ void MessageReceiver_start(uword unused) {
TEST_CASE(MessageQueue_WaitNotify) {
sync = new Monitor();
- Thread* thread = new Thread(MessageReceiver_start, 0);
- EXPECT(thread != NULL);
+ int result = Thread::Start(MessageReceiver_start, 0);
+ EXPECT_EQ(0, result);
// Wait for the shared queue to be created.
while (shared_queue == NULL) {

Powered by Google App Engine
This is Rietveld 408576698