diff options
Diffstat (limited to 'gcc/gthr.h')
-rw-r--r-- | gcc/gthr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gthr.h b/gcc/gthr.h index 54ad6b04c8d..9c5365426bf 100644 --- a/gcc/gthr.h +++ b/gcc/gthr.h @@ -65,7 +65,8 @@ Boston, MA 02111-1307, USA. */ int __gthread_mutex_trylock (__gthread_mutex_t *mutex); int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - All functions returning int should return 0 on success, -1 on error. + All functions returning int should return zero on success or the error + number. If the operation is not supported, -1 is returned. Currently supported threads packages are POSIX threads with -D_PTHREADS |