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:
Augustin Cavalier
2026-05-11 17:24:24 +00:00
committed by waddlesplash
parent cfd1eec3df
commit 29fcc40483
+2 -1
View File
@@ -43,14 +43,15 @@ enum {
struct thread_creation_attributes {
int32 (*entry)(void*, void*);
const char* name;
int32 priority;
void* args1;
void* args2;
void* stack_address;
size_t stack_size;
size_t guard_size;
pthread_t pthread;
int32 priority;
uint32 flags;
};
#endif /* _SYSTEM_THREAD_DEFS_H */