Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |