Poison-ui

A cross-platform desktop/mobile UI engine written in D using dsfml

View project on GitHub

Dub version

poison.core.threading

Source

Module for threading.

Authors:

  Jacob Jensen

License:

  https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE

public:











public @property bool isUIThread();


Gets a boolean determining whether the current thread is the ui thread.


public void executeUI(void function() f);


Executes an action on the UI thread.

Parameters:

fThe function pointer to execute.

public void executeUI(void delegate() d);


Executes an action on the UI thread.

Parameters:

dThe delegate to execute.

public void executeUI(Action action);


Executes an action on the UI thread.

Parameters:

actionThe action to execute.

public void receiveMessages();


Receives all messages for the current thread and executes them.


Generated by venom - Poison Engine's Documentation Generator