1
0
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:
Oleg Hahm 2016-03-02 11:15:38 +01:00
commit 76c397f252
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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);