18#ifndef _DECAF_UTIL_CONCURRENT_LOCKSUPPORT_H_
19#define _DECAF_UTIL_CONCURRENT_LOCKSUPPORT_H_
A Thread is a concurrent unit of execution.
Definition Thread.h:64
Basic thread blocking primitives for creating locks and other synchronization classes.
Definition LockSupport.h:97
static void unpark(decaf::lang::Thread *thread)
Makes available the permit for the given thread, if it was not already available.
static void parkNanos(long long nanos)
Disables the current thread for thread scheduling purposes, for up to the specified waiting time,...
static void park()
Disables the current thread for thread scheduling purposes unless the permit is available.
static void parkUntil(long long deadline)
Disables the current thread for thread scheduling purposes, until the specified deadline,...
#define DECAF_API
Definition Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25