[portland] ctypes to call sched_setscheduler advice.

mgross markgross at thegnar.org
Mon Mar 16 04:14:06 CET 2009


I know that I'm  trying to do something a bit wrong, but thats ok with
me.  Anyway, I would like to call sched_setscheduler from python using
ctypes module.  My question is: is there an easy way to extract the
struct sched_parm struct from the sched.h header file for use within a
python program?

Thanks for any andvice or other ideas on the easiest ways to call
external non-python code.

--mgross


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/portland/attachments/20090315/da176c04/attachment.pgp>


More information about the Portland mailing list