Mercurial > hg > octave-lyh > gnulib-hg
changeset 10633:9497ac0e8384
Add a comment.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 13 Oct 2008 02:32:53 +0200 |
parents | e168dff8563d |
children | 4dc2578ef1a0 |
files | lib/glthread/thread.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/glthread/thread.h +++ b/lib/glthread/thread.h @@ -137,6 +137,9 @@ /* -------------------------- gl_thread_t datatype -------------------------- */ +/* This choice of gl_thread_t assumes that + pthread_equal (a, b) is equivalent to ((a) == (b)). + This is the case on all platforms in use in 2008. */ typedef pthread_t gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) \ (pthread_in_use () ? pthread_create (THREADP, NULL, FUNC, ARG) : ENOSYS)