summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-22 22:52:33 +0000
committerDamien George <damien.p.george@gmail.com>2016-06-28 11:28:48 +0100
commit27cc07721b3c3c2d0b9c8678c8a3ddc7fe96cd97 (patch)
tree38016a7b7e2f29c615bfc0dc14261b8ec0bf0173 /py/mpconfig.h
parent330165a2cc9a0d4d5d00f13f851412c25d5f4ed2 (diff)
py: Add basic _thread module, with ability to start a new thread.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 25aac8b7e..998d1b692 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -824,6 +824,11 @@ typedef double mp_float_t;
#define MICROPY_PY_UERRNO (0)
#endif
+// Whether to provide "_thread" module
+#ifndef MICROPY_PY_THREAD
+#define MICROPY_PY_THREAD (0)
+#endif
+
// Extended modules
#ifndef MICROPY_PY_UCTYPES