Transport.new
new(loop => $loop, max_concurrent => 4, max_queue => 64) borrows an IO::Async::Loop::Ppoll backed by IO::Ppoll. Construct that class explicitly; automatic loop selection can choose an unsupported backend. Other classes, a substituted poll implementation, or a wait mask blocking SIGCHLD throw Unsupported before dispatch. The loop owns supervisor reaping; competing external all-child reapers are unsupported. The library never runs, stops, or replaces it.
Source and package
- Qualified name
-
LibTmux:: Async:: Transport:: new - Module
- LibTmux::Async
- Declared in
Transport- Package
- LibTmux-Async
- Source
- packages/async/lib/LibTmux/Async/Transport.pm
- sub new($class, %args)
-
Description#
Ppoll blocks watched signals outside its atomic wait. Its shared SIGCHLD watch can outlive this transport.
closeleaves the caller-selected loop and its signal policy intact. Do not change the backend or its wait mask while jobs or cleanup remain active. Async children unblock only SIGCHLD before process supervision; other mask bits remain unchanged in the child. This lets a new tmux daemon observe pane exits without changing synchronous core's mask policy.Methods#