core: reduce types of tcb->status and tcb->priority

pr/gpio
Kaspar Schleiser 7 years ago
parent 0e285e89b0
commit a8865a2808

@ -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…
Cancel
Save