akirad fixups for splash, folders, icons
[goodguy/history.git] / cinelerra-5.0 / guicast / thread.h
index 1eb86959e39a5369bd742405a767b2acb81a8e89..1afeecb0d9c61245e6423eaab3160f7c1264c88d 100644 (file)
@@ -38,7 +38,6 @@ static inline int gettid() { return syscall(SYS_gettid, 0, 0, 0); }
 class Thread
 {
        static void* entrypoint(void *parameters);
-       bool exists() { return tid != ((pthread_t)-1); }
 
 protected:
        virtual void run() = 0;
@@ -54,6 +53,7 @@ public:
        int enable_cancel();
        int disable_cancel();
        int get_cancel_enabled();
+       bool exists() { return tid != ((pthread_t)-1); }
        bool running() { return exists() && !finished; }
 
        int get_synchronous();