Files
Bubberstation/code/__HELPERS/byond_status.dm
Bloop 32d188f17b [MISSED MIRROR] Include temporary library for getting sleeping procs (#77773) (#23258)
* Include temporary library for getting sleeping procs (#77773)

@LemonInTheDark wanted this to be able to hunt down the progress bar
hard dels.

Code is here:
https://gist.github.com/Mothblocks/06b415afd75672fb03637804435350d2

Intended to be reverted once we figure out the issue, or if we realize
it's not related. This library is not stable.

* Update tgstation.dme

---------

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2023-08-22 17:18:58 -04:00

8 lines
319 B
Plaintext

/// Returns the debug status, including sleeping procs.
/// If this blame is older than a month, please revert the PR that added it.
/proc/byond_status()
if (world.system_type == UNIX)
return LIBCALL("libbyond_sleeping_procs.so", "get_status")()
else
return "byond_status is not supported on [world.system_type]"