how to schedule threads
How to make a thread non-preemptive dynamically?
This thread should execute a segment of code in such a way that, if this thread enters into this segment, no other thread can be scheduled till this segment execution is over.
I am trying to use pthread_setschedparam but does not seem to work.
Didn't you ask this question elsewhere (scripts and programming forum)? I answered it there... :-)
ya.... thanks for ur reply... i had posted this question on both the forums since i was not sure as to which was the most appropriate forum for this discussion... :)
we will continue our discussion over there.