Results 1 to 3 of 3
Hi,
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 ...
- 04-14-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 9
how to schedule threads
Hi,
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.
- 04-16-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,496
Didn't you ask this question elsewhere (scripts and programming forum)? I answered it there...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-16-2009 #3Just Joined!
- Join Date
- Apr 2009
- Posts
- 9
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.


Reply With Quote
