py/modthread: Add stack_size() function.

This commit is contained in:
Damien George
2016-04-25 09:02:47 +00:00
parent 3eb7a26809
commit 707f98f207
3 changed files with 43 additions and 5 deletions

View File

@@ -38,7 +38,7 @@
mp_state_thread_t *mp_thread_get_state(void);
void mp_thread_set_state(void *state);
void mp_thread_create(void *(*entry)(void*), void *arg);
void mp_thread_create(void *(*entry)(void*), void *arg, size_t stack_size);
#endif // MICROPY_PY_THREAD