aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-08-23 02:33:18 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-08-23 02:33:18 +0000
commitc4679700d4a75a1f8274880e075d6441f6f0b287 (patch)
tree940db7f2eb792ac81a97c5621e34df1ec561140e /externals/grill/flext/source/flsupport.h
parentd2f159b856f375a2ba2fc9e720e195d2a2bf97b5 (diff)
""
svn path=/trunk/; revision=1969
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h36
1 files changed, 1 insertions, 35 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 14ddad47..d9f5b540 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -647,41 +647,6 @@ public:
@{
*/
-#if FLEXT_SYS == FLEXT_SYS_MAX && FLEXT_OS == FLEXT_OS_MAC && FLEXT_THREADS == FLEXT_THR_POSIX
- // These are function pointers of MachO functions imported to the CFM world
-
- static pthread_t (*pthread_self)();
- static int (*pthread_equal)(pthread_t,pthread_t);
- static int (*pthread_create)(pthread_t *,const pthread_attr_t *,void *(*)(void *),void *);
- static int (*pthread_cancel)(pthread_t);
- static void (*pthread_testcancel)(void);
- static int (*pthread_join)(pthread_t,void **);
- static void (*pthread_exit)(void *);
-
- static int (*pthread_attr_init)(pthread_attr_t *);
- static int (*pthread_attr_destroy)(pthread_attr_t *);
- static int (*pthread_attr_setdetachstate)(pthread_attr_t *,int);
-
- static int (*pthread_getschedparam)(pthread_t,int *,struct sched_param *);
- static int (*pthread_setschedparam)(pthread_t,int,const struct sched_param *);
-
- static int (*pthread_mutex_init)(pthread_mutex_t *,const pthread_mutexattr_t *);
- static int (*pthread_mutex_destroy)(pthread_mutex_t *);
- static int (*pthread_mutex_lock)(pthread_mutex_t *);
- static int (*pthread_mutex_unlock)(pthread_mutex_t *);
- static int (*pthread_mutex_trylock)(pthread_mutex_t *);
-
- static int (*pthread_cond_init)(pthread_cond_t *,const pthread_condattr_t *);
- static int (*pthread_cond_destroy)(pthread_cond_t *);
- static int (*pthread_cond_signal)(pthread_cond_t *);
- static int (*pthread_cond_wait)(pthread_cond_t *,pthread_mutex_t *);
- static int (*pthread_cond_timedwait)(pthread_cond_t *,pthread_mutex_t *,const struct timespec *);
-
- static int (*sched_yield)(void);
- static int (*sched_get_priority_min)(int);
- static int (*sched_get_priority_max)(int);
-#endif
-
//! thread type
#if FLEXT_THREADS == FLEXT_THR_MP
typedef MPTaskID thrid_t;
@@ -1010,6 +975,7 @@ public:
\param params Parameters to pass to the thread, may be NULL if not needed.
\return True if at least one matching thread has been found.
\remark Terminates all running threads with matching meth and params.
+ \note Function doesn NOT wait for termination
*/
static bool StopThread(void (*meth)(thr_params *p),thr_params *params = NULL,bool wait = false);