diff options
Diffstat (limited to 'gcc/gthr.h')
-rw-r--r-- | gcc/gthr.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/gthr.h b/gcc/gthr.h index cd3cc23c615..6edfbcd69c3 100644 --- a/gcc/gthr.h +++ b/gcc/gthr.h @@ -101,16 +101,16 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see All functions returning int should return zero on success or the error number. If the operation is not supported, -1 is returned. - If the following are also defined, you should + If the following are also defined, you should #define __GTHREADS_CXX0X 1 - to enable the c++0x thread library. - + to enable the c++0x thread library. + Types: __gthread_t __gthread_time_t Interface: - int __gthread_create (__gthread_t *thread, void *(*func) (void*), + int __gthread_create (__gthread_t *thread, void *(*func) (void*), void *args); int __gthread_join (__gthread_t thread, void **value_ptr); int __gthread_detach (__gthread_t thread); @@ -122,9 +122,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see const __gthread_time_t *abs_timeout); int __gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *m, const __gthread_time_t *abs_time); - + int __gthread_cond_signal (__gthread_cond_t *cond); - int __gthread_cond_timedwait (__gthread_cond_t *cond, + int __gthread_cond_timedwait (__gthread_cond_t *cond, __gthread_mutex_t *mutex, const __gthread_time_t *abs_timeout); int __gthread_cond_timedwait_recursive (__gthread_cond_t *cond, @@ -137,7 +137,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see POSIX/Unix95 threads with -D_PTHREADS95 DCE threads with -D_DCE_THREADS Solaris/UI threads with -D_SOLARIS_THREADS - + */ /* Check first for thread specific defines. */ |