summaryrefslogtreecommitdiff
path: root/modules/cond
Commit message (Collapse)AuthorAgeFilesLines
* Simplify link sections.Bruno Haible2019-12-021-1/+1
| | | | | | | | | | | | * modules/threadlib (Link): Stop mentioning LTLIBTHREAD. * modules/lock (Link): Likewise. * modules/cond (Link): Likewise. * modules/tls (Link): Likewise. * modules/yield (Link): Likewise. * modules/regex (Link): Likewise. * modules/localename (Link): Likewise. * modules/unicase/locale-language (Link): Likewise. * modules/thread (Link): Stop mentioning LTLIBMULTITHREAD.
* cond: State linking requirements.Bruno Haible2019-12-021-0/+3
| | | | * modules/cond (Link): New section.
* windows-cond: New module.Bruno Haible2019-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/windows-cond.h: New file, based on lib/glthread/cond.h. * lib/windows-cond.c: New file, based on lib/glthread/cond.c. * lib/glthread/cond.h: Include windows-cond.h. (struct gl_waitqueue_link, gl_linked_waitqueue_t): Remove types. (gl_cond_t): Define using glwthread_cond_t. (gl_cond_initializer): Define using GLWTHREAD_COND_INIT. (glthread_cond_init): Define using glwthread_cond_init. (glthread_cond_wait): Define using glwthread_cond_wait. (glthread_cond_timedwait): Define using glwthread_cond_timedwait. (glthread_cond_signal): Define using glwthread_cond_signal. (glthread_cond_broadcast): Define using glwthread_cond_broadcast. (glthread_cond_destroy): Define using glwthread_cond_destroy. (glthread_cond_init_func, glthread_cond_wait_func, glthread_cond_timedwait_func, glthread_cond_signal_func, glthread_cond_broadcast_func, glthread_cond_destroy_func): Remove declarations. * lib/glthread/cond.c (gl_waitqueue_t, gl_waitqueue_element): Remove types. (gl_waitqueue_init, gl_waitqueue_add, gl_waitqueue_remove, gl_waitqueue_notify_first, gl_waitqueue_notify_all, glthread_cond_init_func, glthread_cond_wait_func, glthread_cond_timedwait_func, glthread_cond_signal_func, glthread_cond_broadcast_func, glthread_cond_destroy_func): Remove functions. * modules/windows-cond: New file. * modules/cond (Depends-on): Add windows-cond. Remove gettimeofday.
* cond, lock, thread: better 'inline'Paul Eggert2012-11-291-1/+1
| | | | | | | | | | | | | | | | | | | * 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.
* Provide a Win32 implementation of the 'cond' module.Yoann Vandoorselaere2008-10-121-0/+1
|
* Needs to depend on modules 'errno' and 'time'.Bruno Haible2008-10-011-0/+2
|
* New module 'cond'.Yoann Vandoorselaere2008-08-171-0/+28