micropython/ports/unix
David Lechner fee7e5617f unix: Release GIL during all system calls.
Addition of GIL EXIT/ENTER pairs are:

- modos: release the GIL during system calls.  CPython does this as well.

- moduselect: release the GIL during the poll() syscall.  This call can be
  blocking, so it is important to allow other threads to run at this time.

- modusocket: release the GIL during system calls.  Many of these calls can
  be blocking, so it is important to allow other threads to run.

- unix_mphal: release the GIL during the read and write syscalls in
  mp_hal_stdin_rx_chr and mp_hal_stdout_tx_strn.  If we don't do this
  threads are blocked when the REPL or the builtin input function are used.

- file, main, mpconfigport.h: release GIL during syscalls in built-in
  functions that could block.
2020-01-26 23:21:29 +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: Reserve CFLAGS_EXTRA/LDFLAGS_EXTRA for external use. 2020-01-24 11:51:21 +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 mp_obj_is_type() and variants. 2020-01-24 10:57:17 +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: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00
Makefile unix/Makefile: Reserve CFLAGS_EXTRA/LDFLAGS_EXTRA for external use. 2020-01-24 11:51:21 +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 various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modos.c unix: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00
modtermios.c unix/modtermios: Fix output speed setter in tcsetattr. 2019-11-21 12:10:32 +11:00
modtime.c unix/modtime: Add utime.mktime function, to complement utime.localtime. 2019-12-28 11:11:54 +11:00
moduos_vfs.c extmod/vfs_lfs: Allow compiling in VfsLfs1 and VfsLfs2 separately. 2019-10-30 12:08:58 +11:00
moduselect.c unix: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00
modusocket.c unix: Release GIL during all system calls. 2020-01-26 23:21:29 +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 named semaphores on Mac OS X. 2019-03-27 10:50:01 +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: Release GIL during all system calls. 2020-01-26 23:21:29 +11:00