Hi, I don't know if my last post is visible or not, seems like people can't see 
it? Anyway


If I want to extend the kthread_t structure with some parameter like a flag, 
how do I do this?

I want to do this via the sched_param structure, when I use 
pthread_createthread() and pthread_setschedparam()

That is, I extend kthread_t vith for ex: "int flag" and I also extend 
sched_param with "int flag" Then when I create a new thread I want to set it to 
1. And via pthread_setscheduler() I want to change it to some other value.

How do I accomplish this?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to