diff options
Diffstat (limited to 'PACE/pace/pthread.h')
-rw-r--r-- | PACE/pace/pthread.h | 114 |
1 files changed, 30 insertions, 84 deletions
diff --git a/PACE/pace/pthread.h b/PACE/pace/pthread.h index 8b68658ef23..638a4b7c141 100644 --- a/PACE/pace/pthread.h +++ b/PACE/pace/pthread.h @@ -126,10 +126,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 16.2.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_attr_init (pace_pthread_attr_t * attr); + PACE_INLINE int pace_pthread_attr_init (pace_pthread_attr_t * attr); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -138,11 +135,8 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 16.2.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_attr_setdetachstate (pace_pthread_attr_t * attr, - int detachstate); + PACE_INLINE int pace_pthread_attr_setdetachstate (pace_pthread_attr_t * attr, + int detachstate); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -161,12 +155,9 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 13.5.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_attr_setschedparam (pace_pthread_attr_t * attr, - const - pace_sched_param * param); + PACE_INLINE int pace_pthread_attr_setschedparam (pace_pthread_attr_t * attr, + const + pace_sched_param * param); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -215,10 +206,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 18.2.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_cancel (pace_pthread_t thread); + PACE_INLINE int pace_pthread_cancel (pace_pthread_t thread); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -396,12 +384,9 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 13.2.5. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_getschedparam (pace_pthread_t thread, - int * policy, - pace_sched_param * param); + PACE_INLINE int pace_pthread_getschedparam (pace_pthread_t thread, + int * policy, + pace_sched_param * param); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -410,10 +395,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 17.1.2. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - void * pace_pthread_getspecific (pace_pthread_key_t key); + PACE_INLINE void * pace_pthread_getspecific (pace_pthread_key_t key); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -489,11 +471,8 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 11.3.2. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutex_init (pace_pthread_mutex_t * mutex, - const pace_pthread_mutexattr_t * attr); + PACE_INLINE int pace_pthread_mutex_init (pace_pthread_mutex_t * mutex, + const pace_pthread_mutexattr_t * attr); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -502,10 +481,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 11.3.3. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutex_lock (pace_pthread_mutex_t * mutex); + PACE_INLINE int pace_pthread_mutex_lock (pace_pthread_mutex_t * mutex); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -525,10 +501,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 11.3.3. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutex_trylock (pace_pthread_mutex_t * mutex); + PACE_INLINE int pace_pthread_mutex_trylock (pace_pthread_mutex_t * mutex); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -537,10 +510,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 11.3.3. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutex_unlock (pace_pthread_mutex_t * mutex); + PACE_INLINE int pace_pthread_mutex_unlock (pace_pthread_mutex_t * mutex); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -590,11 +560,8 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 13.6.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, - int protocol); + PACE_INLINE int pace_pthread_mutexattr_setprotocol (pace_pthread_mutexattr_t * attr, + int protocol); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -614,10 +581,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 11.3.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutexattr_init (pace_pthread_mutexattr_t * attr); + PACE_INLINE int pace_pthread_mutexattr_init (pace_pthread_mutexattr_t * attr); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -626,11 +590,8 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 11.3.1. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, - int pshared); + PACE_INLINE int pace_pthread_mutexattr_setpshared (pace_pthread_mutexattr_t * attr, + int pshared); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -663,10 +624,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 18.2.2. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_setcancelstate (int state, int * oldstate); + PACE_INLINE int pace_pthread_setcancelstate (int state, int * oldstate); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -675,10 +633,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 18.2.2. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_setcanceltype (int type, int * oldtype); + PACE_INLINE int pace_pthread_setcanceltype (int type, int * oldtype); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -687,12 +642,9 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 13.5.2. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_setschedparam (pace_pthread_t thread, - int policy, - const pace_sched_param * param); + PACE_INLINE int pace_pthread_setschedparam (pace_pthread_t thread, + int policy, + const pace_sched_param * param); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -701,10 +653,7 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 17.1.2. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_setspecific (pace_pthread_key_t key, const void * value); + PACE_INLINE int pace_pthread_setspecific (pace_pthread_key_t key, const void * value); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** @@ -713,12 +662,9 @@ extern "C" { IEEE Std 1003.1, 1996 Edition), Section 3.3.5. */ #if (PACE_HAS_POSIX_NONUOF_FUNCS) -#if !(PACE_VXWORKS) - PACE_INLINE -#endif - int pace_pthread_sigmask (int how, - const pace_sigset_t * set, - pace_sigset_t * oset); + PACE_INLINE int pace_pthread_sigmask (int how, + const pace_sigset_t * set, + pace_sigset_t * oset); #endif /* PACE_HAS_POSIX_NONUOF_FUNCS */ /** |