summaryrefslogtreecommitdiff
path: root/modules/pthread-spin
blob: ce699440214759e88b7e2ae3d6abebc8849bd57b (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
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
if test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1; then
  AC_LIBOBJ([pthread-spin])
fi
gl_PTHREAD_MODULE_INDICATOR([pthread-spin])

Makefile.am:

Include:
<pthread.h>

Link:
$(LIBPMULTITHREAD)

License:
LGPLv2+

Maintainer:
all