system_collapse(3)
π system_collapse(3) β Arcan Lua API π
okay bestie, welcome to the system_collapse(3) page. Itβs the Arcan Lua API function that collapses important subsystems and leaves only frameservers alive. iconic emergency-reset energy. β¨
πΈ NAME πΈ
system_collapse β Collapse important subsystems, leaving only frameservers alive. π
β¨ SYNOPSIS β¨
Synopsis, exactly as written:
nil
system_collapse( applname, noadopt )
π DESCRIPTION π
This function purges audio/video/events from everything not strictly related to frameservers. π§Ή
Then, if applname was specified, it loads and runs applname and invokes an applname_adopt function for each frameserver related VID, unless noadopt has been set to true. π«Ά
This enables recovery from bad system states switching to an app that can permit the user to clean-up and save important information that would otherwise be lost or simply to switch active scripts while keeping core services intact. π₯
If applname is left undefined, the current namespaces and active scripts will be re-used but the scripting context will be reset. π
π NOTES π
- frameservers existing in multiple context stack levels are collated down to a flat, new context.
- if the number of running frameservers is higher than the current new context vobj limit, the vobj limit will be raised.
- if there are more running frameservers in all contexts combined than what is permitted (compile-time) some frameservers will be truncated and deleted. (likely to hit system process and descriptor limits before that happens).
- frameservers will have their order value set depending on the context they were previously allocated in.
- the search space for
applnameis constrained to namespace defined by theAPPLBASEnamespace.
π SEE ALSO: π
system
mwah π β source/version: system; date: October 2026; and yeah, this is system_collapse(3). π
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms