Struct ArsdCoreApplication

To opt in to the full functionality of this module with customization opportunity, create one and only one of these objects that is valid for exactly the lifetime of the application.

struct ArsdCoreApplication;

Normally, this means writing a main like this:

import arsd.core;
void main() {
	ArsdCoreApplication app = ArsdCoreApplication("Your app name");

	// do your setup here

	// the rest of your code here
}

Its destructor runs the event loop then waits to for the workers to finish to clean them up.

Constructors

NameDescription
this (applicationName, numberOfTaskRunners, numberOfHelpers)
this (applicationName) default number of threads is to split your cpus between blocking function runners and task runners

Methods

NameDescription
new () This must be deterministically destroyed.