> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/packages/concurrency.md).

# Scripting & Concurrency

Packages for scripting, background threads, and synchronization.

* [js](/packages/concurrency/js.md) - Run sandboxed JavaScript with hard resource limits.
* [lua](/packages/concurrency/lua.md) - Embed and run Lua scripts.
* [thread](/packages/concurrency/thread.md) - Background threads, parallel workers, racing, and message channels.
* [sync](/packages/concurrency/sync.md) - Named locks, scoped locking, one-time execution, and wait groups.
