am 1ffc89e3: am f14fe856: Merge "Add alignment to opaque types."
* commit '1ffc89e301ae167ad5843ae570be0d779e37bec8': Add alignment to opaque types.
This commit is contained in:
commit
28654c922d
@ -78,7 +78,7 @@ typedef struct {
|
|||||||
#else
|
#else
|
||||||
char __private[4];
|
char __private[4];
|
||||||
#endif
|
#endif
|
||||||
} pthread_cond_t;
|
} pthread_cond_t __attribute__((aligned(8)));
|
||||||
|
|
||||||
#define PTHREAD_COND_INITIALIZER { { 0 } }
|
#define PTHREAD_COND_INITIALIZER { { 0 } }
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ typedef struct {
|
|||||||
#else
|
#else
|
||||||
char __private[40];
|
char __private[40];
|
||||||
#endif
|
#endif
|
||||||
} pthread_rwlock_t;
|
} pthread_rwlock_t __attribute__((aligned(8)));
|
||||||
|
|
||||||
#define PTHREAD_RWLOCK_INITIALIZER { { 0 } }
|
#define PTHREAD_RWLOCK_INITIALIZER { { 0 } }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user