summaryrefslogtreecommitdiff
path: root/modules/sleep
blob: fb81ebd6832444f956df8cb5e744aa343ba0b6e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description:
sleep() function: pause execution of the current thread.

Files:
lib/sleep.c
m4/sleep.m4

Depends-on:
unistd
assert-h        [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
stdint          [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]

configure.ac:
gl_FUNC_SLEEP
gl_CONDITIONAL([GL_COND_OBJ_SLEEP],
               [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1])
gl_UNISTD_MODULE_INDICATOR([sleep])

Makefile.am:
if GL_COND_OBJ_SLEEP
lib_SOURCES += sleep.c
endif

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
all