SafeExecutor

Undocumented in source.

Members

Aliases

PluginFunction
alias PluginFunction = void function()
Undocumented in source.
Queue
alias Queue = LowLockQueue!(PluginExecHandle*)
Undocumented in source.

Functions

end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
execute
bool execute(PluginFunction fn)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
renewThread
void renewThread(Thread thread)
Undocumented in source. Be warned that the author may not have intended to support it.
threadMain
void threadMain()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

pluginsThreadsNum
enum pluginsThreadsNum;
Undocumented in source.

Static functions

initializeCrashSignalCatching
void initializeCrashSignalCatching()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

PluginExecHandle
struct PluginExecHandle
Undocumented in source.

Variables

exit
bool exit;
Undocumented in source.
queue
Queue queue;
Undocumented in source.
semaphore
Semaphore semaphore;
Undocumented in source.
threads
Thread[pluginsThreadsNum] threads;
Undocumented in source.

Meta