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

Unified Diff: runtime/vm/os_thread_openbsd.h

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Replace // FIXME with // TODO(mulander) Created 4 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/os_thread_openbsd.h
diff --git a/runtime/vm/os_thread_linux.h b/runtime/vm/os_thread_openbsd.h
similarity index 89%
copy from runtime/vm/os_thread_linux.h
copy to runtime/vm/os_thread_openbsd.h
index 306229bd1fde75cee6dc2f25f2ede9a515ff514f..31519bb2d5b0140b598682c1cb20b613325cde7f 100644
--- a/runtime/vm/os_thread_linux.h
+++ b/runtime/vm/os_thread_openbsd.h
@@ -2,11 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef VM_OS_THREAD_LINUX_H_
-#define VM_OS_THREAD_LINUX_H_
+#ifndef VM_OS_THREAD_OPENBSD_H_
+#define VM_OS_THREAD_OPENBSD_H_
#if !defined(VM_OS_THREAD_H_)
-#error Do not include os_thread_linux.h directly; use os_thread.h instead.
+#error Do not include os_thread_openbsd.h directly; use os_thread.h instead.
#endif
#include <pthread.h>
@@ -20,11 +20,9 @@ typedef pthread_key_t ThreadLocalKey;
typedef pthread_t ThreadId;
typedef pthread_t ThreadJoinId;
-
Ivan Posva 2016/01/11 23:58:40 White space changes.
mulander 2016/01/12 00:22:46 Acknowledged.
static const ThreadLocalKey kUnsetThreadLocalKey =
static_cast<pthread_key_t>(-1);
-
class ThreadInlineImpl {
private:
ThreadInlineImpl() {}
@@ -77,4 +75,4 @@ class MonitorData {
} // namespace dart
-#endif // VM_OS_THREAD_LINUX_H_
+#endif // VM_OS_THREAD_OPENBSD_H_

Powered by Google App Engine
This is Rietveld 408576698