Re: Using Python on a fork-less POSIX-like OS

2018-07-31 Thread Stephan Houben
Op 2018-07-29, Terry Reedy schreef : > multiprocessing module uses 'spawn' rather than 'fork' on Windows and it > has an option to use 'spawn' even on *nix. I presume the latter refers > to posix_spawn. You might want to check the multiprocessing code to see > what *it* is doing 'under the co

Re: Using Python on a fork-less POSIX-like OS

2018-07-29 Thread Terry Reedy
On 7/29/2018 10:28 AM, Jan Claeys wrote: On Fri, 2018-07-27 at 19:13 +0200, Barath Aron wrote: I intend to cross-compile Python v3.6.6 to Threos ( https://threos.io ) operating system. Threos is supports a quite large set from POSIX and C89/C99. Unfortunately, Threos lacks fork(2), but provide

Re: Using Python on a fork-less POSIX-like OS

2018-07-29 Thread Jan Claeys
On Fri, 2018-07-27 at 19:13 +0200, Barath Aron wrote: > I intend to cross-compile Python v3.6.6 to Threos ( https://threos.io > ) operating system. Threos is supports a quite large set from > POSIX and C89/C99. Unfortunately, Threos lacks fork(2), but > provides posix_spawn(3) instead. I already

Using Python on a fork-less POSIX-like OS

2018-07-27 Thread Barath Aron
Hello Python list, I intend to cross-compile Python v3.6.6 to Threos ( https://threos.io ) operating system. Threos is supports a quite large set from POSIX and C89/C99. Unfortunately, Threos lacks fork(2), but provides posix_spawn(3) instead. I already made some local changes in posixmodule.