diff options
author | Torvald Riegel <triegel@redhat.com> | 2013-10-11 18:58:04 +0300 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2014-10-20 18:22:30 +0200 |
commit | 63668b7084ac26865136e59fdf17781f9f49bd99 (patch) | |
tree | 25f39623e3ce1562a1330e2119ae5a3173cd2d7e /nptl/pthreadP.h | |
parent | 42b7f5d48549b85386a9b28a1a90e66fd81ba273 (diff) | |
download | glibc-63668b7084ac26865136e59fdf17781f9f49bd99.tar.gz glibc-63668b7084ac26865136e59fdf17781f9f49bd99.tar.xz glibc-63668b7084ac26865136e59fdf17781f9f49bd99.zip |
pthread_once: Clean up constants.
[BZ #15215] This just gives a name to the integer constants being used.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index d4415ba933..3aa24c283b 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -161,6 +161,12 @@ enum #define FUTEX_TID_MASK 0x3fffffff +/* pthread_once definitions. See __pthread_once for how these are used. */ +#define __PTHREAD_ONCE_INPROGRESS 1 +#define __PTHREAD_ONCE_DONE 2 +#define __PTHREAD_ONCE_FORK_GEN_INCR 4 + + /* Internal variables. */ |