Chromium Code Reviews| 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_ |