Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
absl::synchronization_internal::KernelTimeout Class Reference

#include <kernel_timeout.h>

Public Member Functions

bool has_timeout () const
 
 KernelTimeout (absl::Time t)
 
 KernelTimeout ()
 

Static Public Member Functions

static KernelTimeout Never ()
 

Private Member Functions

struct timespec MakeAbsTimespec ()
 

Static Private Member Functions

static int64_t MakeNs (absl::Time t)
 

Private Attributes

int64_t ns_
 

Friends

class Futex
 
class Waiter
 

Detailed Description

Definition at line 42 of file kernel_timeout.h.

Constructor & Destructor Documentation

◆ KernelTimeout() [1/2]

absl::synchronization_internal::KernelTimeout::KernelTimeout ( absl::Time  t)
inlineexplicit

Definition at line 47 of file kernel_timeout.h.

◆ KernelTimeout() [2/2]

absl::synchronization_internal::KernelTimeout::KernelTimeout ( )
inline

Definition at line 49 of file kernel_timeout.h.

Member Function Documentation

◆ has_timeout()

bool absl::synchronization_internal::KernelTimeout::has_timeout ( ) const
inline

Definition at line 57 of file kernel_timeout.h.

◆ MakeAbsTimespec()

struct timespec absl::synchronization_internal::KernelTimeout::MakeAbsTimespec ( )
inlineprivate

Definition at line 86 of file kernel_timeout.h.

◆ MakeNs()

static int64_t absl::synchronization_internal::KernelTimeout::MakeNs ( absl::Time  t)
inlinestaticprivate

Definition at line 66 of file kernel_timeout.h.

◆ Never()

static KernelTimeout absl::synchronization_internal::KernelTimeout::Never ( )
inlinestatic

Definition at line 52 of file kernel_timeout.h.

Friends And Related Function Documentation

◆ Futex

friend class Futex
friend

Definition at line 146 of file kernel_timeout.h.

◆ Waiter

friend class Waiter
friend

Definition at line 147 of file kernel_timeout.h.

Member Data Documentation

◆ ns_

int64_t absl::synchronization_internal::KernelTimeout::ns_
private

Definition at line 64 of file kernel_timeout.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23