circuitpython/ports/unix
David Lechner 3bd2ae1a36 unix/mpthreadport: Use SIGRTMIN+5 instead of SIGUSR1 for thread-GC.
This changes the signal used to trigger garbage collection from SIGUSR1 to
SIGRTMIN + 5.  SIGUSR1 is quite common compared to SIGRTMIN (measured by
google search results) and is more likely to conflict with libraries that
may use the same signal.

POSIX specifies that there are at least 8 real-time signal so 5 was chosen
as a "random" number to further avoid potential conflict with libraries
that may use SIGRTMIN or SIGRTMAX.

Also, if we ever have a `usignal` module, it would be nice to leave SIGUSR1
and SIGUSR2 free for user programs.
2020-02-18 13:32:42 +11:00
..
coverage-frzmpy py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 2019-09-26 16:04:56 +10:00
coverage-frzstr ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
variants unix/Makefile: Allow to install all variants of the executable. 2020-02-16 23:37:40 +11:00
.gitignore unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
alloc.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
coverage.c tests/unix: Add coverage tests for kbd-intr and scheduler. 2020-02-07 16:08:29 +11:00
fatfs_port.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
fdfile.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
file.c unix: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00
gccollect.c unix/gcollect: Make sure stack/regs get captured properly for GC. 2019-05-01 15:06:21 +10:00
input.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
input.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
main.c unix/main: Use OS-dependent path separator when searching path. 2020-02-11 13:33:56 +11:00
Makefile unix/Makefile: Allow to install all variants of the executable. 2020-02-16 23:37:40 +11:00
manifest_coverage.py unix: Convert to use FROZEN_MANIFEST to specify frozen code. 2019-10-15 21:35:27 +11:00
manifest.py tools/makemanifest.py: Eval relative paths w.r.t. current manifest file. 2019-10-21 23:01:41 +11:00
modffi.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modjni.c ports: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
modmachine.c py: Add mp_raise_msg_varg helper and use it where appropriate. 2020-02-13 11:52:40 +11:00
modos.c unix/modos: Implement putenv and unsetenv to complement getenv. 2020-02-04 17:54:31 +11:00
modtermios.c unix/modtermios: Fix output speed setter in tcsetattr. 2019-11-21 12:10:32 +11:00
modtime.c py/scheduler: Add "raise_exc" argument to mp_handle_pending. 2020-02-07 16:08:20 +11:00
moduos_vfs.c unix/modos: Implement putenv and unsetenv to complement getenv. 2020-02-04 17:54:31 +11:00
moduselect.c unix: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00
modusocket.c py: Add mp_raise_msg_varg helper and use it where appropriate. 2020-02-13 11:52:40 +11:00
mpconfigport.h unix: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00
mpconfigport.mk unix/mpconfigport.mk: Update comment about TLS implementations. 2019-06-05 15:28:30 +10:00
mphalport.h unix/mphalport.h: Define mp_hal_stdio_poll to dummy because it's unused. 2019-10-29 22:22:37 +11:00
mpthreadport.c unix/mpthreadport: Use SIGRTMIN+5 instead of SIGUSR1 for thread-GC. 2020-02-18 13:32:42 +11:00
mpthreadport.h unix/mpthreadport: Add thread deinit code to stop threads on exit. 2019-01-27 12:38:23 +11:00
qstrdefsport.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
unix_mphal.c unix, windows: Use mp_keyboard_interrupt instead of custom code. 2020-02-07 16:08:33 +11:00