Martin Panter <vadmium...@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 <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