Simplify Beast:

* Remove obsolete RNG facilities
* Flatten directory structure
* Use std::recursive_mutex instead of beast::RecursiveMutex
This commit is contained in:
Nik Bougalis
2016-01-09 02:43:30 -08:00
parent 3c6534dc91
commit 8064e82774
25 changed files with 36 additions and 873 deletions

View File

@@ -73,7 +73,7 @@ void beast_threadEntryPoint (void* userData)
//==============================================================================
void Thread::startThread()
{
const RecursiveMutex::ScopedLockType sl (startStopLock);
std::lock_guard<std::recursive_mutex> sl (startStopLock);
shouldExit = false;
@@ -103,7 +103,7 @@ void Thread::waitForThreadToExit () const
void Thread::stopThread ()
{
const RecursiveMutex::ScopedLockType sl (startStopLock);
std::lock_guard<std::recursive_mutex> sl (startStopLock);
if (isThreadRunning())
{
@@ -115,7 +115,7 @@ void Thread::stopThread ()
void Thread::stopThreadAsync ()
{
const RecursiveMutex::ScopedLockType sl (startStopLock);
std::lock_guard<std::recursive_mutex> sl (startStopLock);
if (isThreadRunning())
{