summaryrefslogtreecommitdiff
path: root/py/modthread.c
AgeCommit message (Expand)Author
2024-08-14py: Add new cstack API for stack checking, with limit margin macro.Angus Gratton
2024-03-07all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton
2024-02-29py/modthread: Move thread state initialisation to shared function.Daniƫl van de Giessen
2023-11-03py/misc: Change sizeof to offsetof for variable-length alloc.Jim Mussared
2023-10-18py/modthread: Initialise nlr_jump_callback_top on threads.Jim Mussared
2023-09-03py/modthread: Return thread id from start_new_thread().David Lechner
2022-09-19py/obj: Convert make_new into a mp_obj_type_t slot.Jim Mussared
2022-09-19all: Remove unnecessary locals_dict cast.Jim Mussared
2022-09-19all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE.Jim Mussared
2022-06-02all: Remove third argument to MP_REGISTER_MODULE.Damien George
2022-05-18py: Make builtin modules use MP_REGISTER_MODULE.Jim Mussared
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2021-06-19py/mpstate: Make exceptions thread-local.David Lechner
2021-05-10py/gc: Make gc_lock_depth have a count per thread.Damien George
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-13py: Add mp_raise_type helper macro and use it where appropriate.Damien George
2020-01-31py/modthread: Fix spelling error in comment.David Lechner
2019-02-12py: Downcase MP_xxx_SLOT_IS_FILLED inline functions.Damien George
2017-12-11py: Introduce a Python stack for scoped allocation.Damien George
2017-09-26py: Add config option to print warnings/errors to stderr.David Lechner
2017-08-15py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.Stefan Naumann
2017-06-14py/modthread: Raise RuntimeError in release() if lock is not acquired.Damien George
2017-03-29py: Convert mp_uint_t to size_t for tuple/list accessors.Damien George
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-03-06py: Move locals/globals dicts to the thread-specific state.Damien George
2017-02-15py/modthread: Use system-provided mutexs for _thread locks.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-07py: Add mp_raise_OSError(errno) helper function.Damien George
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
2016-06-28py/modthread: Allow to properly set the stack limit of a thread.Damien George
2016-06-28py/modthread: Make Lock objects work when GIL is enabled.Damien George
2016-06-28py: Implement a simple global interpreter lock.Damien George
2016-06-28py/modthread: Call mp_thread_start/mp_thread_finish around threads.Damien George
2016-06-28py/modthread: Be more careful with root pointers when creating a thread.Damien George
2016-06-28py/modthread: Satisfy unused-args warning.Damien George
2016-06-28py/modthread: Add with-context capabilities to lock object.Damien George
2016-06-28py/modthread: Implement lock object, for creating a mutex.Damien George
2016-06-28py/modthread: Add exit() function.Damien George
2016-06-28py/modthread: Add stack_size() function.Damien George
2016-06-28py/modthread: Properly cast concrete exception pointer to an object.Damien George
2016-06-28py: Add basic _thread module, with ability to start a new thread.Damien George