Channel.awaitReservingCapacity
Waits while preserving process capacity for a call through this server that signals it.
Source and package
- Qualified name
-
io.github .libtmux .Channel. await Reserving Capacity - Package
- io.github.libtmux
- Declared in
Channel- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Channel.java
- @Operation(Kind
.WAIT ) public WakeReason awaitReservingCapacity(Duration timeout) throws InterruptedException -
Description#
Use this when the waiter and its release share a bounded transport. A wait released outside that transport should use
#await(); reserving capacity for it only rejects useful concurrency.- Parameters
- Raises
-
-
io
.github – if the wait could not be dispatched.libtmux .exception .Dispatch Exception -
Interrupted
Exception – if the waiting thread is interrupted, which is a cancellation rather than a timeout and so is not reported as one
-
tmux command#
The tmux commands behind awaitReservingCapacity.
tmux C API#
The C declarations in tmux that implement these commands.