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

    A flag visible on both user-level thread and linux kernel


    What flag can be visible for both user-level thread and linux kernel scheduler? For example, if a user-level thread gives the flag a value, the OS scheduler (sched_other policy) can read the value of this flag before scheduling the thread.



  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Victoria, B.C. Canada
    I presume your talking about pthreads since you refered to them in another post?

    Pthread attributes are used and set by a variety of pthread functions the values of which adjust behavior. You set scheduling priority and policy with them, where the thread is joinable or detached, stacksize and so forth.

Posting Permissions

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