summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpthreadport.c
Commit message (Collapse)AuthorAge
* ports: Make new ports/ sub-directory and move all ports there.Damien George2017-09-06
| | | | | | This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
* unix: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* unix/mpthreadport: Adjust minimum thread stack, and stack limit check.Damien George2016-07-11
| | | | | | The minimum thread stack size is set by pthreads (16k bytes) so we must use that value for our minimum. The stack limit check is also adjusted to work correctly for 32-bit builds.
* py/modthread: Allow to properly set the stack limit of a thread.Damien George2016-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.
* unix/mpthreadport: Suppress compiler warning about unused arguments.Damien George2016-06-28
|
* unix/mpthreadport: Use SA_SIGINFO for GC signal handler.Damien George2016-06-28
| | | | | | SA_SIGINFO allows the signal handler to access more information about the signal, especially useful in a threaded environment. The extra information is not currently used but it may prove useful in the future.
* unix: Implement garbage collection with threading.Damien George2016-06-28
| | | | | This patch allows any given thread to do a proper garbage collection and scan all the pointers of all active threads.
* py/modthread: Implement lock object, for creating a mutex.Damien George2016-06-28
|
* py/modthread: Add stack_size() function.Damien George2016-06-28
|
* unix: Add basic thread support using pthreads.Damien George2016-06-28
Has the ability to create new threads.