-
Notifications
You must be signed in to change notification settings - Fork 2.1k
core: rename tcb_t -> thread_t, move into thread.h #4578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I like! |
👍 |
1ste ACK in tha pocket |
2nd ACK (once Travis is happy) |
* @brief Thread status list | ||
* @{ | ||
*/ | ||
#define STATUS_NOT_FOUND (-1) /**< Describes an illegal thread status */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for just writing that now, but wouldn't a THREAD_
prefix on those be more in line with the coding conventions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's out of scope for this PR.
Well, travis did not agree at all. ;)
@DipSwitch @haukepetersen pls take another look... |
Sorry, there's more trouble. |
clist_node_t rq_entry; /**< run queue entry */ | ||
|
||
void *wait_data; /**< holding messages */ | ||
priority_queue_t msg_waiters; /**< threads waiting on message */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the comment alignment should be fixed?
Just a few comment alignment stuff, not that it must be fixed by me. But it would look better ;) The code seems fine, ACK |
6fc2941
to
4cbe9e8
Compare
What's up with this PR? |
I've rebased it yesterday and (hopefully) just fixed the last compile problem. I'll unmark it WIP. |
9c5380a
to
06a9efc
Compare
please reomve the stack size defines from the |
otherwise looks good, please squash! |
06a9efc
to
5dbacf0
Compare
|
90358e3
to
ed03204
Compare
|
Bascally three ACKs -> go! |
core: rename tcb_t -> thread_t, move into thread.h
Calling the struct "thread control block" seems outdated. This PR moves the definition into thread.h.