Add default EntryPoints

This commit is contained in:
Vinnie Falco
2013-06-27 15:39:59 -07:00
parent b658f82510
commit 98ac0697a9
2 changed files with 22 additions and 2 deletions

View File

@@ -32,6 +32,13 @@ ThreadWithCallQueue::~ThreadWithCallQueue ()
stop (true);
}
ThreadWithCallQueue::EntryPoints* ThreadWithCallQueue::getDefaultEntryPoints () noexcept
{
static EntryPoints entryPoints;
return &entryPoints;
}
void ThreadWithCallQueue::start (EntryPoints* const entryPoints)
{
{