Bidirectional links between processes for fault propagation. Pids are Thread objects.
Bidirectional links between processes for fault propagation. Pids are Thread objects.
(cleanup-links! pid)Remove all links for pid. Called during process cleanup.
Remove all links for pid. Called during process cleanup.
(get-links pid)Returns set of linked Threads for given pid.
Returns set of linked Threads for given pid.
(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).
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |