Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Use mp_raise_msg helper function where appropriate. | Damien George | 2016-10-17 |
| | | | | | Saves the following number of bytes of code space: 176 for bare-arm, 352 for minimal, 272 for unix x86-64, 140 for stmhal, 120 for esp8266. | ||
* | py: Add mp_raise_OSError(errno) helper function. | Damien George | 2016-10-07 |
| | | | | | This is an often used code pattern, and its use reduces code size of the core by about 100 bytes. | ||
* | all: Remove 'name' member from mp_obj_module_t struct. | Damien George | 2016-09-22 |
| | | | | One can instead lookup __name__ in the modules dict to get the value. | ||
* | py/modthread: Allow to properly set the stack limit of a thread. | Damien George | 2016-06-28 |
| | | | | | We rely on the port setting and adjusting the stack size so there is enough room to recover from hitting the stack limit. | ||
* | py/modthread: Make Lock objects work when GIL is enabled. | Damien George | 2016-06-28 |
| | |||
* | py: Implement a simple global interpreter lock. | Damien George | 2016-06-28 |
| | | | | | This makes the VM/runtime thread safe, at the cost of not being able to run code in parallel. | ||
* | py/modthread: Call mp_thread_start/mp_thread_finish around threads. | Damien George | 2016-06-28 |
| | | | | So the underlying thread implementation can do any necessary bookkeeping. | ||
* | py/modthread: Be more careful with root pointers when creating a thread. | Damien George | 2016-06-28 |
| | |||
* | py/modthread: Satisfy unused-args warning. | Damien George | 2016-06-28 |
| | |||
* | py/modthread: Add with-context capabilities to lock object. | Damien George | 2016-06-28 |
| | |||
* | py/modthread: Implement lock object, for creating a mutex. | Damien George | 2016-06-28 |
| | |||
* | py/modthread: Add exit() function. | Damien George | 2016-06-28 |
| | | | | Simply raises the SystemExit exception. | ||
* | py/modthread: Add stack_size() function. | Damien George | 2016-06-28 |
| | |||
* | py/modthread: Properly cast concrete exception pointer to an object. | Damien George | 2016-06-28 |
| | |||
* | py: Add basic _thread module, with ability to start a new thread. | Damien George | 2016-06-28 |