menu

destack:sync

import destack:sync

Classes

  1. BarrierReusable synchronization barrier.
  2. CondvarCondition variable paired with a mutex.
  3. MutexMutual exclusion lock.
  4. OnceOne-time execution state.
  5. OnceCellOne-time initialized cell.
  6. RwLockReader-writer lock.
  7. SemaphoreCounting semaphore.

Structs

  1. BarrierWaitResultResult returned by a barrier wait.
  2. MutexGuardActive mutex lock guard.
  3. RwLockReadGuardActive readonly lock guard.
  4. RwLockWriteGuardActive exclusive lock guard.
  5. SemaphorePermitActive semaphore permit.

Enums

  1. AtomicScopeExecution scope for atomic operations.
  2. MemoryOrderingMemory ordering for atomic operations.
  3. MemoryRegionSetEffect regions participating in an atomic operation.
  4. MemoryScopeMemory scope for atomic operations.

Newtypes

  1. AtomicAtomic storage for one value.
  2. SeekFromSeek origin.

Newtype interfaces

  1. AtomicSafeValues supported by atomic storage.

Interfaces

  1. ReaderByte reader.
  2. SeekerSeekable byte stream.
  3. WriterByte writer.

Type aliases

  1. AtomicWaitResultResult of waiting on an atomic value.

Functions

  1. atomicCasAtomic compare-and-swap.
  2. atomicCasWeakAtomic compare-and-swap (weak).
  3. atomicExchangeAtomic exchange.
  4. atomicFenceMemory fence.
  5. atomicFetchAddAtomic fetch-and-add.
  6. atomicFetchAndAtomic fetch-and-bitwise-and.
  7. atomicFetchFaddAtomic fetch-and-add (float).
  8. atomicFetchFmaxAtomic fetch-and-max (float).
  9. atomicFetchFminAtomic fetch-and-min (float).
  10. atomicFetchMaxAtomic fetch-and-max.
  11. atomicFetchMinAtomic fetch-and-min.
  12. atomicFetchOrAtomic fetch-and-bitwise-or.
  13. atomicFetchSubAtomic fetch-and-subtract.
  14. atomicFetchUmaxAtomic fetch-and-max (unsigned).
  15. atomicFetchUminAtomic fetch-and-min (unsigned).
  16. atomicFetchXorAtomic fetch-and-bitwise-xor.
  17. atomicLoadAtomic load.
  18. atomicStoreAtomic store.
  19. atomicWaitWait on an atomic integer location.
  20. atomicWakeWake waiters blocked on an atomic integer location.
  21. readAllRead until end of input.