35 #ifndef CARTOBASE_THREAD_THREAD_H 
   36 #define CARTOBASE_THREAD_THREAD_H 
   40 #ifndef CARTO_NO_THREAD 
virtual bool isActive() const
virtual void setCancellable(bool value, bool callStop)
static bool currentIsMainThread()
virtual void start()
Call launch(), not start()
virtual void testCancel()
virtual void launch()
This is the function which should actually called to run a thread.
virtual void doPostLaunch()
virtual bool isCurrent() const
bool isSuicideSafe() const
virtual void doPreLaunch()
void setSuicideSafe(bool x=true)
In suicide-safe mode, Thread can be deleted (or auto-deleted) while the threaded job is still running...
static void * bootstrap(void *thread)
virtual void run()
Call launch(), not run()