Message325630
The documentation says:
The child process is created using vfork(2) instead of fork(2) when
either of the following is true:
* the spawn-flags element of the attributes object pointed to by
attrp contains the GNU-specific flag POSIX_SPAWN_USEVFORK; or
* file_actions is NULL and the spawn-flags element of the attributes
object pointed to by attrp does not contain
POSIX_SPAWN_SETSIGMASK, POSIX_SPAWN_SETSIGDEF,
POSIX_SPAWN_SETSCHEDPARAM, POSIX_SPAWN_SETSCHEDULER,
POSIX_SPAWN_SETPGROUP, or POSIX_SPAWN_RESETIDS.
So using the flag is necessary if you want to force the use of vfork when passing any of the flags specified in the second point. |
|
Date |
User |
Action |
Args |
2018-09-18 11:27:00 | pablogsal | set | recipients:
+ pablogsal, gregory.p.smith, ronaldoussoren, vstinner, serhiy.storchaka |
2018-09-18 11:27:00 | pablogsal | set | messageid: <1537270020.68.0.956365154283.issue34663@psf.upfronthosting.co.za> |
2018-09-18 11:27:00 | pablogsal | link | issue34663 messages |
2018-09-18 11:27:00 | pablogsal | create | |
|