diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-04-22 22:52:33 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-06-28 11:28:48 +0100 |
| commit | 27cc07721b3c3c2d0b9c8678c8a3ddc7fe96cd97 (patch) | |
| tree | 38016a7b7e2f29c615bfc0dc14261b8ec0bf0173 /py/mpconfig.h | |
| parent | 330165a2cc9a0d4d5d00f13f851412c25d5f4ed2 (diff) | |
py: Add basic _thread module, with ability to start a new thread.
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
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 |
