mirror of https://github.com/deavmi/eventy.git
Added missing comments
This commit is contained in:
parent
00b8eb82be
commit
6cfaa9824e
|
@ -136,22 +136,32 @@ unittest
|
||||||
public final class Engine : Thread
|
public final class Engine : Thread
|
||||||
{
|
{
|
||||||
/* TODO: Or use a queue data structure */
|
/* TODO: Or use a queue data structure */
|
||||||
|
/* Registered queues */
|
||||||
private DList!(Queue) queues;
|
private DList!(Queue) queues;
|
||||||
private Mutex queueLock;
|
private Mutex queueLock;
|
||||||
|
|
||||||
/* TODO: Or use a queue data structure */
|
/* TODO: Or use a queue data structure */
|
||||||
|
/* Registered signal handlers */
|
||||||
private DList!(Signal) handlers;
|
private DList!(Signal) handlers;
|
||||||
private Mutex handlerLock;
|
private Mutex handlerLock;
|
||||||
|
|
||||||
|
|
||||||
/* Engine configuration */
|
/* Engine configuration */
|
||||||
private EngineSettings settings;
|
private EngineSettings settings;
|
||||||
|
|
||||||
|
/* Whether engine is running or not */
|
||||||
private bool running;
|
private bool running;
|
||||||
|
|
||||||
|
/* Dispatched threads */
|
||||||
private DList!(DispatchWrapper) threadStore;
|
private DList!(DispatchWrapper) threadStore;
|
||||||
private Mutex threadStoreLock;
|
private Mutex threadStoreLock;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Instantiates a new Eventy engine with the provided
|
||||||
|
* configuration
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* settings = The EngineSettings to use
|
||||||
|
*/
|
||||||
this(EngineSettings settings)
|
this(EngineSettings settings)
|
||||||
{
|
{
|
||||||
super(&run);
|
super(&run);
|
||||||
|
@ -162,7 +172,6 @@ public final class Engine : Thread
|
||||||
this.settings = settings;
|
this.settings = settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instantiates a new Eventy engine with the default
|
* Instantiates a new Eventy engine with the default
|
||||||
* settings
|
* settings
|
||||||
|
|
Loading…
Reference in New Issue