diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-20 22:25:08 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-29 23:38:54 -0800 |
commit | 30d594eb300acfbf6a829bb299bface0d7ea8d8c (patch) | |
tree | acc538a1c333009b7199d66802b17ae9a67e709e /modules/thread | |
parent | e4b23b86811ef9aa8775c7e86d3abfaaebde488f (diff) | |
download | gnulib-30d594eb300acfbf6a829bb299bface0d7ea8d8c.tar.gz |
cond, lock, thread: better 'inline'
* lib/glthread/cond.c, lib/glthread/cond.h (_GLTHREAD_COND_INLINE):
* lib/glthread/thread.c, lib/glthread/thread.h (_GLTHREAD_THREAD_INLINE):
New macros. Use them instead of static inline, for header functions.
* lib/glthread/cond.c (gl_waitqueue_init, gl_waitqueue_remove)
(gl_waitqueue_notify_first, gl_waitqueue_notify_all):
* lib/glthread/lock.c (gl_waitqueue_init)
(gl_waitqueue_notify_first, gl_waitqueue_notify_all):
* lib/glthread/thread.c (get_current_thread_handle):
Change 'static inline' to 'inline'.
* lib/glthread/cond.h, lib/glthread/thread.h:
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* m4/cond.m4 (gl_COND):
* m4/lock.m4 (gl_PREREQ_LOCK):
* m4/thread.m4 (gl_THREAD):
Do not require AC_C_INLINE.
* modules/cond, modules/thread (Depends-on): Add extern-inline.
Diffstat (limited to 'modules/thread')
-rw-r--r-- | modules/thread | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/thread b/modules/thread index a7d338df4c..026e4392d9 100644 --- a/modules/thread +++ b/modules/thread @@ -8,6 +8,7 @@ m4/thread.m4 Depends-on: threadlib +extern-inline lock configure.ac: @@ -27,4 +28,3 @@ LGPLv2+ Maintainer: Yoann Vandoorselaere - |