1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

pthread_once: Clean up constants.

[BZ #15215] This just gives a name to the integer constants being used.
This commit is contained in:
Torvald Riegel
2013-10-11 18:58:04 +03:00
parent 42b7f5d485
commit 63668b7084
4 changed files with 29 additions and 10 deletions

View File

@ -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. */