Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

Regarding the rationale for when posix_spawn can be useful (from the RATIONALE 
section of the man page):

The posix_spawn() function and its close relation posix_spawnp() have been 
introduced to overcome the following perceived difficulties with fork(): the 
fork() function is difficult or impossible to implement without swapping or 
dynamic address translation.

Swapping is generally too slow for a realtime environment.

Dynamic address translation is not available everywhere that POSIX might be 
useful.

Processes are too useful to simply option out of POSIX whenever it must run 
without address translation or other MMU services.

Thus, POSIX needs process creation and file execution primitives that can be 
efficiently implemented without address translation or other MMU services.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue20104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to