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

Side by Side Diff: runtime/bin/file.cc

Issue 463993002: - Separate the thread implementation used in bin/ and vm/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/file.h" 5 #include "bin/file.h"
6 6
7 #include "bin/builtin.h" 7 #include "bin/builtin.h"
8 #include "bin/dartutils.h" 8 #include "bin/dartutils.h"
9 #include "bin/io_buffer.h" 9 #include "bin/io_buffer.h"
10 #include "bin/thread.h"
11 #include "bin/utils.h" 10 #include "bin/utils.h"
12 11
13 #include "include/dart_api.h" 12 #include "include/dart_api.h"
14 13
15 namespace dart { 14 namespace dart {
16 namespace bin { 15 namespace bin {
17 16
18 static const int kMSPerSecond = 1000; 17 static const int kMSPerSecond = 1000;
19 18
20 19
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 CObjectArray* wrapper = new CObjectArray(CObject::NewArray(2)); 1191 CObjectArray* wrapper = new CObjectArray(CObject::NewArray(2));
1193 wrapper->SetAt(0, new CObjectInt32(CObject::NewInt32(CObject::kSuccess))); 1192 wrapper->SetAt(0, new CObjectInt32(CObject::NewInt32(CObject::kSuccess)));
1194 wrapper->SetAt(1, result); 1193 wrapper->SetAt(1, result);
1195 return wrapper; 1194 return wrapper;
1196 } 1195 }
1197 return CObject::IllegalArgumentError(); 1196 return CObject::IllegalArgumentError();
1198 } 1197 }
1199 1198
1200 } // namespace bin 1199 } // namespace bin
1201 } // namespace dart 1200 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/file.h ('k') | runtime/bin/io_service.cc » ('j') | runtime/bin/io_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698