Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

class libtmux-java latest

IncarnationFence

Package io.github.libtmux.IncarnationFence io.github.libtmux

Which tmux server incarnation a handle or batch may act on: the pid tmux reports, and its start time when known, since a pid alone is reusable — a tmux started on the pid of one just probed, as a container's first processes often are, would otherwise answer as if it were that server.

View as Markdown

Source and package
Module
io.github.libtmux
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/IncarnationFence.java
class io.github.libtmux.IncarnationFence
classreadonly [source]

Description#

Every guarded command is sent as tmux's own if-shell -F test of this condition, so a server that has been replaced under a stale handle is refused before anything runs, rather than acting on the wrong incarnation.

Members7 members#

Other members7 members#

Esc

Type to search.