mgross wrote:
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?

I am not aware of one. If there is, that is definitely a tool that I would like.

I've always ended up translating the structures by hand.

-John
_______________________________________________
Portland mailing list
[email protected]
http://mail.python.org/mailman/listinfo/portland

Reply via email to