// CLASS HEADER
#include "vsync-notifier.h"
-// EXTERNAL INCLUDES
-#include <boost/thread.hpp>
-
#include <dali/integration-api/core.h>
#include <dali/integration-api/platform-abstraction.h>
{
mVSyncMonitor->Initialize();
- mThread = new boost::thread( boost::bind( &VSyncNotifier::Run, this ) );
+ mThread = new pthread_t();
+ int error = pthread_create( mThread, NULL, InternalThreadEntryFunc, this );
+ DALI_ASSERT_ALWAYS( !error && "Return code from pthread_create() in VSyncNotifier" );
}
}
if( mThread )
{
// wait for the thread to finish
- mThread->join();
+ pthread_join(*mThread, NULL);
delete mThread;
mThread = NULL;