Halide
Halide::Runtime::Internal::Synchronization::parking_control Struct Reference

#include <synchronization_common.h>

Inherited by Halide::Runtime::Internal::Synchronization::broadcast_parking_control, Halide::Runtime::Internal::Synchronization::mutex_parking_control, Halide::Runtime::Internal::Synchronization::signal_parking_control, and Halide::Runtime::Internal::Synchronization::wait_parking_control.

Public Member Functions

ALWAYS_INLINE parking_control ()
 

Public Attributes

bool(* validate )(void *control, validate_action &action)
 
void(* before_sleep )(void *control)
 
uintptr_t(* unpark )(void *control, int unparked, bool more_waiters)
 
void(* requeue_callback )(void *control, const validate_action &action, bool one_to_wake, bool some_requeued)
 

Detailed Description

Definition at line 613 of file synchronization_common.h.

Constructor & Destructor Documentation

◆ parking_control()

ALWAYS_INLINE Halide::Runtime::Internal::Synchronization::parking_control::parking_control ( )
inline

Definition at line 619 of file synchronization_common.h.

Member Data Documentation

◆ validate

◆ before_sleep

void(* Halide::Runtime::Internal::Synchronization::parking_control::before_sleep) (void *control)

◆ unpark

◆ requeue_callback

void(* Halide::Runtime::Internal::Synchronization::parking_control::requeue_callback) (void *control, const validate_action &action, bool one_to_wake, bool some_requeued)

The documentation for this struct was generated from the following file: