mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
Added some comments.
This commit is contained in:
parent
cc2b6e58d7
commit
3af69d229a
@ -49,9 +49,16 @@ struct mtarch_thread {
|
||||
* See details at mtarch_switch in mtarch.c
|
||||
*/
|
||||
u16_t *sp;
|
||||
/*
|
||||
* Stack is 2-byte wide, so please note that you need 2 * MTARCH_STACKSIZE
|
||||
* bytes for the stack area for each thread.
|
||||
*/
|
||||
u16_t stack[MTARCH_STACKSIZE];
|
||||
};
|
||||
|
||||
/*
|
||||
* A function for debugging purpose, placed here by following other implementations.
|
||||
*/
|
||||
int mtarch_stack_usage(struct mtarch_thread *t);
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user