>Hi, I don't know if my last post is visible or not, seems like people can't >see it? Anyway >
I'm not sure why you think that. Assume the posting works but don't assume that people read or even reply to all posts. >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_set schedparam() Use your favorite editor ..... You are approaching this the wrong way, though. You seem to be wanting to change or set a scheduling class related parameter; this should be done in the scheduling class proper and not in the thread structure. Add the parameter to the scheduling class and then the class specific scheduling data is stored in the thread's t_cldata field. Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
