Module ipc

IPC library implemented using the per-process event system.

It implements OETF #18 (Open Inter-Process Communication), the main difference being that computer.pushProcessSignal is used instead of computer.pushSignal.

Functions

socket (target, id) Sockets are used for both listening and writing and are not necessary to be opened on both sides.


Functions

socket (target, id)
Sockets are used for both listening and writing and are not necessary to be opened on both sides. This is a best-effort asynchronous in write and synchronous in read message passing. Due to the way they work, they cannot be closed unlike streams.

Parameters:

  • target int process PID
  • id string the unique identifier of the socket that should be shared between both processes
generated by LDoc 1.4.6 Last updated 2021-12-27 19:58:59