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

Unified Diff: runtime/vm/dart_api_impl_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/dart_api_impl_test.cc
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
index 677bdd615128240316859c9a90a5afcbe3d81e28..55d0220f55c88bd82bb0a7ed752b664b3b1feee6 100644
--- a/runtime/vm/dart_api_impl_test.cc
+++ b/runtime/vm/dart_api_impl_test.cc
@@ -2970,8 +2970,8 @@ TEST_CASE(IsolateInterrupt) {
Isolate::SetInterruptCallback(IsolateInterruptTestCallback);
sync = new Monitor();
- Thread* thread = new Thread(BusyLoop_start, 0);
- EXPECT(thread != NULL);
+ int result = Thread::Start(BusyLoop_start, 0);
+ EXPECT_EQ(0, result);
{
MonitorLocker ml(sync);

Powered by Google App Engine
This is Rietveld 408576698