[issue20104] expose posix_spawn(p)
Martin Panter
report at bugs.python.org
Sun May 6 10:02:23 EDT 2018
Martin Panter <vadmium+py at gmail.com> added the comment:
To wrap “posix_spawnattr_setschedparam” perhaps you could combine it with the scheduler policy:
# Inherit current policy and parameters:
posix_spawn(..., scheduler=None)
# Set new policy with parameters:
posix_spawn(..., scheduler=(policy, param))
# Inherit current policy but set new parameters:
posix_spawn(..., scheduler=(None, param))
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20104>
_______________________________________
More information about the Python-bugs-list
mailing list