Core LibraryunreleasedAPI Reference

Choose documentation 2

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.

module libtmux-ocaml latest

Libtmux_unix.Cancellation

Source and package
Qualified name
Libtmux_unix.Cancellation
Declared in
Libtmux_unix
Package
libtmux-unix
Source
unix/libtmux_unix.mli
module Cancellation

Public owner: Libtmux_unix

Members4#

Common operations2#

  • Cancelled exception
  • with_ function Own a cancellation token for the callback's lifetime. Leaving the scope cancels outstanding waiters and releases its descriptors after they finish. An escaped token is cancelled and cannot be reused.

Other members2#

  • cancel function Wake waiters. Safe from another domain or systhread, but not from a signal handler. Repeated calls and calls after scope exit have no effect.
  • t typealias

Guides#

Pages that discuss Cancellation.

Esc

Type to search.

Reference previewOpen reference