Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, 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) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2014
    Posts
    4

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


    Hi,

    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.

    Thanks,

    Jeff

  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,655
    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
  •