The OpenD Programming Language

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.

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

this
this(string applicationName)

default number of threads is to split your cpus between blocking function runners and task runners

this
this(string applicationName, int numberOfTaskRunners, int numberOfHelpers)

Destructor

~this
~this()

This must be deterministically destroyed.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Meta