From 4985ae92eea0eb7609a2449d7e147f69b7134b50 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 2 Dec 2002 17:32:50 +0000 Subject: *** empty log message *** svn path=/trunk/; revision=265 --- externals/grill/flext/source/flclass.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'externals/grill/flext/source/flclass.h') diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h index f9b3deec..8c14e6b8 100644 --- a/externals/grill/flext/source/flclass.h +++ b/externals/grill/flext/source/flclass.h @@ -20,11 +20,6 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "flbase.h" #include "flsupport.h" -#ifdef FLEXT_THREADS -#include -#include -#endif - #ifdef _MSC_VER #pragma warning(disable: 4786) #endif @@ -410,6 +405,10 @@ public: typedef pthread_t thrid_t; + /*! \brief Get current thread id + */ + static thrid_t GetThreadId(); + /*! \brief Increase/Decrease priority of a thread */ static bool ChangePriority(int dp,thrid_t thr = GetThreadId()); @@ -422,10 +421,6 @@ public: */ static bool SetPriority(int p,thrid_t thr = GetThreadId()); - /*! \brief Get current thread id - */ - static thrid_t GetThreadId(); - #endif // FLEXT_THREADS @@ -442,7 +437,8 @@ protected: /*! \brief Thread parameters \internal */ - class thr_params + class thr_params: + public flext { public: thr_params(flext_base *c,int n = 1); -- cgit v1.2.1