Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux::CommandRuntimeSnapshot

C++
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++
  • Swift Unavailable

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/async.hpp
struct libtmux::CommandRuntimeSnapshot
struct [source]
struct [source]
struct libtmux::CommandRuntimeSnapshot

A lock-consistent instant; values may change immediately after it is read.

Admission, refusal, and completion totals are monotonic. The runtime's counters at one instant, for diagnostics rather than control.

Read under a lock and stale immediately after, so a caller must not branch on in_flight expecting it to still hold. The totals only ever increase.

8 declared, 0 inherited

Members

  • accepted attribute Commands admitted since startup.
  • accepting attribute True while neither stop nor close has ended admission.
  • capacity attribute
  • completed attribute Accepted results whose observer record, when present, is also ready.
  • in_flight attribute Accepted commands retaining transport, result, or observer work.
  • pending_observers attribute Observer records not yet claimed for dispatch or discarded, ready or not.
  • pending_results attribute Result handles not yet waited, detached, or destroyed.
  • refused attribute Commands refused before admission since startup.
Esc

Type to search.