24 Commits (2ccf030fd1ee7ddf7c015217c7fbc9996c735fd1)

Author SHA1 Message Date
Damien George 054dd33eba py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
Damien George 02d830c035 py: Introduce a Python stack for scoped allocation. 7 years ago
David Lechner 62849b7010 py: Add config option to print warnings/errors to stderr. 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Damien George e374cfff80 py/modthread: Raise RuntimeError in release() if lock is not acquired. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 05fe66f68a py: Move locals/globals dicts to the thread-specific state. 8 years ago
Damien George 234f07f16c py/modthread: Use system-provided mutexs for _thread locks. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George df95f52583 py/modthread: Allow to properly set the stack limit of a thread. 9 years ago
Damien George c567afc5fa py/modthread: Make Lock objects work when GIL is enabled. 9 years ago
Damien George 4cec63a9db py: Implement a simple global interpreter lock. 9 years ago
Damien George 9172c0cb25 py/modthread: Call mp_thread_start/mp_thread_finish around threads. 9 years ago
Damien George 722cff5fd0 py/modthread: Be more careful with root pointers when creating a thread. 9 years ago
Damien George 7f4658a7ee py/modthread: Satisfy unused-args warning. 9 years ago
Damien George 34fc006f5e py/modthread: Add with-context capabilities to lock object. 9 years ago
Damien George 801d1b3803 py/modthread: Implement lock object, for creating a mutex. 9 years ago
Damien George 2dacd604c5 py/modthread: Add exit() function. 9 years ago
Damien George 707f98f207 py/modthread: Add stack_size() function. 9 years ago
Damien George 3eb7a26809 py/modthread: Properly cast concrete exception pointer to an object. 9 years ago
Damien George 27cc07721b py: Add basic _thread module, with ability to start a new thread. 9 years ago