5#ifndef RUNTIME_BIN_THREAD_H_
6#define RUNTIME_BIN_THREAD_H_
19#if defined(DART_USE_ABSL)
21#elif defined(DART_HOST_OS_FUCHSIA)
23#elif defined(DART_HOST_OS_LINUX) || defined(DART_HOST_OS_ANDROID)
25#elif defined(DART_HOST_OS_MACOS)
27#elif defined(DART_HOST_OS_WINDOWS)
30#error Unknown target os.
56 DISALLOW_ALLOCATION();
57 DISALLOW_IMPLICIT_CONSTRUCTORS(
Thread);
72 DISALLOW_COPY_AND_ASSIGN(
Mutex);
98 DISALLOW_COPY_AND_ASSIGN(
Monitor);
static constexpr int64_t kNoTimeout
WaitResult Wait(int64_t millis)
WaitResult WaitMicros(int64_t micros)
static const ThreadId kInvalidThreadId
void(* ThreadStartFunction)(uword parameter)
static intptr_t GetMaxStackSize()
static int Start(const char *name, ThreadStartFunction function, uword parameters)
static bool Compare(ThreadId a, ThreadId b)
static ThreadId GetCurrentThreadId()
Dart_NativeFunction function