summaryrefslogtreecommitdiff
path: root/py/mpthread.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-25 09:02:47 +0000
committerDamien George <damien.p.george@gmail.com>2016-06-28 11:28:48 +0100
commit707f98f207d85b1de9814e90254d52a78ac19739 (patch)
treec1f4546ff29c5117c7a13aa3caf18e604c76e21d /py/mpthread.h
parent3eb7a268091ef68248d58ddb3ad11465f1cb2199 (diff)
py/modthread: Add stack_size() function.
Diffstat (limited to 'py/mpthread.h')
-rw-r--r--py/mpthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpthread.h b/py/mpthread.h
index 6c6de7988..bbf27da50 100644
--- a/py/mpthread.h
+++ b/py/mpthread.h
@@ -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