system: Move thread_creation_attributes.priority lower to avoid padding.
Note that this breaks syscall ABI. Change-Id: I353049d67f5611fae87fe9e6193a64d51330c846 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5479 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
cfd1eec3df
commit
29fcc40483
@@ -43,14 +43,15 @@ enum {
|
|||||||
struct thread_creation_attributes {
|
struct thread_creation_attributes {
|
||||||
int32 (*entry)(void*, void*);
|
int32 (*entry)(void*, void*);
|
||||||
const char* name;
|
const char* name;
|
||||||
int32 priority;
|
|
||||||
void* args1;
|
void* args1;
|
||||||
void* args2;
|
void* args2;
|
||||||
void* stack_address;
|
void* stack_address;
|
||||||
size_t stack_size;
|
size_t stack_size;
|
||||||
size_t guard_size;
|
size_t guard_size;
|
||||||
pthread_t pthread;
|
pthread_t pthread;
|
||||||
|
int32 priority;
|
||||||
uint32 flags;
|
uint32 flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* _SYSTEM_THREAD_DEFS_H */
|
#endif /* _SYSTEM_THREAD_DEFS_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user