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

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

Definition at line 47 of file kernel_timeout.h.

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

Definition at line 49 of file kernel_timeout.h.

Member Function Documentation

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

Definition at line 57 of file kernel_timeout.h.

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

Definition at line 86 of file kernel_timeout.h.

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

Definition at line 66 of file kernel_timeout.h.

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

Definition at line 52 of file kernel_timeout.h.

Friends And Related Function Documentation

friend class Futex
friend

Definition at line 146 of file kernel_timeout.h.

friend class Waiter
friend

Definition at line 147 of file kernel_timeout.h.

Member Data Documentation

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 Wed Jun 19 2019 19:20:00