summaryrefslogtreecommitdiff
path: root/modules/pthread-spin
blob: 35e3aa701ecd948aaa73cc99e8fb62c587f16023 (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
32
33
34
Description:
POSIX spin locks.

Files:
lib/pthread-spin.c
m4/pthread-spin.m4

Depends-on:
pthread-h
stdbool         [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1]
windows-spin    [test $gl_threads_api = windows]

configure.ac:
gl_PTHREAD_SPIN
gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_SPIN],
               [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1])
gl_PTHREAD_MODULE_INDICATOR([pthread-spin])

Makefile.am:
if GL_COND_OBJ_PTHREAD_SPIN
lib_SOURCES += pthread-spin.c
endif

Include:
<pthread.h>

Link:
$(LIBPMULTITHREAD)

License:
LGPLv2+

Maintainer:
all