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

Unified Diff: src/platform-nullos.cc

Issue 12089107: Determine number of available cores on all platforms. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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
« no previous file with comments | « src/platform-macos.cc ('k') | src/platform-openbsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-nullos.cc
diff --git a/src/platform-nullos.cc b/src/platform-nullos.cc
index f5ae5ece09a73980a13a59544ee723bcb3aa6169..0fef0633e9b0e5c9f05fc5b16ee126244c9473f9 100644
--- a/src/platform-nullos.cc
+++ b/src/platform-nullos.cc
@@ -266,6 +266,12 @@ void OS::Sleep(int milliseconds) {
}
+int OS::NumberOfCores() {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
void OS::Abort() {
// Minimalistic implementation for bootstrapping.
abort();
« no previous file with comments | « src/platform-macos.cc ('k') | src/platform-openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698