summaryrefslogtreecommitdiff
path: root/modules/timer-time
Commit message (Collapse)AuthorAgeFilesLines
* Fix mistakes in --enable-threads=isoc fixes from 2019-12-01.Bruno Haible2019-12-031-1/+1
| | | | | | | | | | * m4/pthread-mutex.m4 (gl_PTHREAD_MUTEX): Use LIBPMULTITHREAD, not LIBMULTITHREAD. * m4/pthread-rwlock.m4 (gl_PTHREAD_RWLOCK): Likewise. * m4/pthread-thread.m4 (gl_PTHREAD_THREAD): Likewise. * m4/timer_time.m4 (gl_TIMER_TIME): Likewise. Require gl_PTHREADLIB, not gl_THREADLIB. * modules/timer-time (Depends-on): Add pthread-h. Remove threadlib.
* maint: add coding cookies to non-ASCII sourcesPaul Eggert2015-09-241-0/+4
| | | | | | | | | | | | Otherwise, Emacs might do the wrong thing if run in an he_IL.ISO-8859-8 locale, which an Emacs developer does on occasion. Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00966.html Don't bother with test files, as they aren't copied to the Emacs source directory. If this problem affects test files in some other GNU project, we can add coding cookies to the non-ASCII test files later.
* timer-time: link explicitly with pthreads on glibcPádraig Brady2012-03-101-0/+1
| | | | | | | | | | | | To support static linking we need to explicitly specify the pthreads library which is referenced (but not used on modern Linux kernels at least). * m4/timer_time.m4 (LIB_TIMER_TIME): Add -lpthread when newer GLIBC is detected as that contains the pthread emulation. * modules/timer-time: Depend on threadlib to pull in the appropriate library to link
* timer-time: A new module to check for timer_settime()Pádraig Brady2011-07-211-0/+26
* m4/timer_time.m4: Check for the POSIX function. * modules/timer-time: Add the new module. * MODULES.html.sh (Compat checks for POSIX:2008 functions): Mention it. * doc/posix-functions/timer_create.texi: Add timer-time as the module, and update the platforms where unavailable. * doc/posix-functions/timer_delete.texi: Likewise. * doc/posix-functions/timer_gettime.texi: Likewise. * doc/posix-functions/timer_settime.texi: Likewise. Signed-off-by: Pádraig Brady <P@draigBrady.com>