am e292875c
: Merge "Reserve some space in sem_t for the future."
* commit 'e292875cf55265bea7f78049e31d50c15a3a34e0': Reserve some space in sem_t for the future.
This commit is contained in:
commit
ed4e01f706
@ -33,10 +33,13 @@
|
|||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
volatile unsigned int count;
|
volatile unsigned int count;
|
||||||
|
#ifdef __LP64__
|
||||||
|
int __reserved[3];
|
||||||
|
#endif
|
||||||
} sem_t;
|
} sem_t;
|
||||||
|
|
||||||
#define SEM_FAILED NULL
|
#define SEM_FAILED NULL
|
||||||
|
|
||||||
extern int sem_init(sem_t *sem, int pshared, unsigned int value);
|
extern int sem_init(sem_t *sem, int pshared, unsigned int value);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user