Extension designed to work MSUnit
Warning! The extension overrides how the Globals class works.
A set of functions for manipulation of closures.
Replaces the internal closing environment with the current one.
A set of functions for logs.
Prints a message.
Prints a message and then terminate the line.
A set of functions for environment.
Remove reference of environment by id.
Save reference of environment by id.
Swaps one procedure for another (or given closure) in a saved environment (or current if two arguments passed).
Add procedure (or given closure as procedure named by procName) in a saved environment.
Remove procedure from a saved environment (or current if two arguments passed).
A set of functions for globals.
Sets extend daemon manager, that clearing globals when threads deactivated.
ets automatically initialize globals for new threads.
Returns whether globals for threads are automatically initialized.
Return array of keys globals.
Stores a value in the original global storage register (like "export").
This function likes "import" but imports a value from the original global value register.
Initializes empty globals for the current thread.
Delete globals for the current thread. If no globals for the thread are init, nothing happen.
A set of functions for interacting with threads.
Returns an array of all threads keys that are currently running.
Executes the given closure. You can also send arguments to the closure, which it may or may not use, depending on the particular closure's definition. Unlike closure, it returns only void and will be executed even if the thread was stopped by a functionx_stop_thread().
Stopping tracked thread named 'id'. If successful returns true, else false. If the thread performs a x_safe_execute() function, the interrupting thread will wait for execution.