class FutexContext

Defined at line 48 of file ../../zircon/kernel/object/include/object/futex_context.h

FutexContext

A FutexContext is the object which manages the state of all of the active

futexes for a user-mode process. Each ProcessDispatcher in the system will

have a single FutexContext contained within it, and the objects should exist

no-where else in the system.

Public Methods

void FutexContext ()

Defined at line 56 of file ../../zircon/kernel/object/include/object/futex_context.h

void ~FutexContext ()

Defined at line 57 of file ../../zircon/kernel/object/include/object/futex_context.h

zx_status_t Init (ProcessType type)

Initialize this instance for use in the specified process type.

Must be called exactly once.

Defined at line 62 of file ../../zircon/kernel/object/include/object/futex_context.h

void * get ()

Defined at line 66 of file ../../zircon/kernel/object/include/object/futex_context.h

Enumerations

enum class ProcessType : uint32_t
Name Value
Regular 0
Shared 1

See |Init|.

Defined at line 51 of file ../../zircon/kernel/object/include/object/futex_context.h