Module priomutex::internals [] [src]

Internals. Not meant for consumption.

Internals are exposed for the sake of interest only. The usual caveats apply:

  • No guarantees about API stability
  • The user may need to enforce invariants
  • The documentation may be inaccurate

Structs

PV

A value V with a priority P. The Ord impl looks at P only.

SleepToken

A token for putting the current thread to sleep.

WakeToken

A token for waking a thread

Functions

create_tokens

Create a linked pair of tokens.