Files
sdk/runtime/vm/os_thread_macos.h
T
Ryan Macnak 1d0195cad4 [vm] Use C++11 thread_local for TLS destructors.
Removes linker hack on Windows.

TEST=ci
Change-Id: Ib031f8f05e422084fa6652fee425f8e46884840e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/490341
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2026-03-25 11:58:38 -07:00

24 lines
611 B
C++

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// 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 RUNTIME_VM_OS_THREAD_MACOS_H_
#define RUNTIME_VM_OS_THREAD_MACOS_H_
#if !defined(RUNTIME_VM_OS_THREAD_H_)
#error Do not include os_thread_macos.h directly; use os_thread.h instead.
#endif
#include <pthread.h>
#include "platform/assert.h"
#include "platform/globals.h"
namespace dart {
typedef pthread_t ThreadJoinId;
} // namespace dart
#endif // RUNTIME_VM_OS_THREAD_MACOS_H_