Core LibraryunreleasedAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function LibTmux.jl

open_control

Source and package
Qualified name
LibTmux.open_control
Module
LibTmux
Package
LibTmux
Source
src/control.jl

Methods

open_control( f, server::LibTmux.Server, session::LibTmux.SessionRef; kwargs..., )[source]

open_control( server::LibTmux.Server, session::LibTmux.SessionRef; timeout, cancel, capacity, )[source]

Open two owned control clients on the borrowed session: a request lane and a cleanup lane for library-owned waits. Both independently verify the captured generation over their own connection. The two attachments are observable; configured attach/detach hooks and unattached-session/server policies apply.

open_control(server, session::SessionRef; timeout=5.0, cancel=nothing, capacity=64)

Capacity includes minted signals until cleanup. close stops admission, signals submitted owned waits, waits for their fences, then joins both client processes and all I/O/cleanup tasks. A dead/unresponsive backend can prevent proving remote retirement; local cleanup remains bounded and effects are reported by ControlCleanupError; ControlSignal.cleanup_done remains false without its primary completion fence. No borrowed wait channel is signalled. The do-block form preserves body and cleanup failures in CompositeException. capacity must be positive, fit Int, and cannot be Bool; invalid capacity fails before attaching a client.

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.open_control.

tmux command

task material

The tmux commands behind open_control.

tmux C API

task material

The C declarations in tmux that implement these commands.

Guides

task material

Pages that discuss open_control.

Guides
Esc
Search in

Type to search.

Reference previewOpen reference