Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    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!

  3. #3
    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.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts