Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Latest commit

 

History

History
11 lines (10 loc) · 948 Bytes

index.md

File metadata and controls

11 lines (10 loc) · 948 Bytes

IPC Package Reference Manual

  • ipc.spawn a more modern replacement to Lua's io.popen function.
  • ipc.map maps a Lua function onto a set of threads.
  • ipc.mutex provides utilies for locking resources and creating synchronization barriers.
  • ipc.workqueue allows the main thread to communicate with a set of worker threads.
  • ipc.channel allows thread to communicate with one another via messaging-passing.
  • ipc.sharedtable provides a table that can be shared between threads.
  • ipc.marshal serializes objects into a compact userdata instance.
  • ipc.BackgroundTask provides a simple, pollable interface to a single Lua function run in the background.
  • ipc.BackgroundTaskPool provides a simple, pollable interface to a set of arbitrary Lua functions run in the background.