mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
Merge pull request #4924 from kaspar030/smaller_core_types
core: reduce types of tcb->status and tcb->priority
This commit is contained in:
commit
76c397f252
@ -61,10 +61,10 @@
|
||||
*/
|
||||
typedef struct tcb_t {
|
||||
char *sp; /**< thread's stack pointer */
|
||||
uint16_t status; /**< thread's status */
|
||||
uint8_t status; /**< thread's status */
|
||||
uint8_t priority; /**< thread's priority */
|
||||
|
||||
kernel_pid_t pid; /**< thread's process id */
|
||||
uint16_t priority; /**< thread's priority */
|
||||
|
||||
clist_node_t rq_entry; /**< run queue entry */
|
||||
|
||||
|
||||
@ -33,8 +33,8 @@ int main(void)
|
||||
|
||||
P(sp);
|
||||
P(status);
|
||||
P(pid);
|
||||
P(priority);
|
||||
P(pid);
|
||||
P(rq_entry);
|
||||
P(wait_data);
|
||||
P(msg_waiters);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user