Liking cljdoc? Tell your friends :D

loom-otp.process.link

Bidirectional links between processes for fault propagation. Pids are Thread objects.

Bidirectional links between processes for fault propagation.
Pids are Thread objects.
raw docstring

cleanup-links!clj

(cleanup-links! pid)

Remove all links for pid. Called during process cleanup.

Remove all links for pid. Called during process cleanup.
sourceraw docstring

(get-links pid)

Returns set of linked Threads for given pid.

Returns set of linked Threads for given pid.
sourceraw docstring

link!clj

(link! new-pid existing-pid)

Create bidirectional link between new-pid and existing-pid. new-pid is the process being spawned, existing-pid is the link target. Returns true if link established, false if existing-pid doesn't exist.

Links are stored in each process's :links atom (set of linked Threads).

Create bidirectional link between new-pid and existing-pid.
new-pid is the process being spawned, existing-pid is the link target.
Returns true if link established, false if existing-pid doesn't exist.

Links are stored in each process's :links atom (set of linked Threads).
sourceraw docstring

unlink!clj

(unlink! pid-a pid-b)

Remove bidirectional link between two pids. Removes from other process first, then from self.

Remove bidirectional link between two pids.
Removes from other process first, then from self.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close