Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>


  58        thread and stores those values in policy and param, respectively. The
  59        priority value returned from pthread_getschedparam() is the value
  60        specified by the most recent pthread_setschedparam() or
  61        pthread_create() call affecting the target thread, and does not reflect
  62        any temporary adjustments to its priority as a result of any priority
  63        inheritance or ceiling functions. The pthread_setschedparam() function
  64        sets the scheduling policy and associated scheduling parameters for the
  65        thread whose thread  ID is given by thread to the policy and associated
  66        parameters provided in policy and param, respectively.
  67 
  68 
  69        If the pthread_setschedparam() function fails, no scheduling parameters
  70        will be changed  for the target thread.
  71 
  72 RETURN VALUES
  73        If successful, the pthread_getschedparam() and pthread_setschedparam()
  74        functions return  0. Otherwise, an error number is returned to indicate
  75        the error.
  76 
  77 ERRORS
  78        The pthread_getschedparam() and pthread_gsetschedparam() functions will
  79        fail if:
  80 
  81        ESRCH
  82                 The value specified by thread does not refer to an existing
  83                 thread.
  84 
  85 
  86 
  87        The pthread_setschedparam() function will fail if:
  88 
  89        EINVAL
  90                  The value specified by policy or one of the scheduling
  91                  parameters associated with the scheduling policy policy is
  92                  invalid.
  93 
  94 
  95        EPERM
  96                  The caller does not have the appropriate permission to set
  97                  either the scheduling parameters or the scheduling policy of
  98                  the specified thread.




  58        thread and stores those values in policy and param, respectively. The
  59        priority value returned from pthread_getschedparam() is the value
  60        specified by the most recent pthread_setschedparam() or
  61        pthread_create() call affecting the target thread, and does not reflect
  62        any temporary adjustments to its priority as a result of any priority
  63        inheritance or ceiling functions. The pthread_setschedparam() function
  64        sets the scheduling policy and associated scheduling parameters for the
  65        thread whose thread  ID is given by thread to the policy and associated
  66        parameters provided in policy and param, respectively.
  67 
  68 
  69        If the pthread_setschedparam() function fails, no scheduling parameters
  70        will be changed  for the target thread.
  71 
  72 RETURN VALUES
  73        If successful, the pthread_getschedparam() and pthread_setschedparam()
  74        functions return  0. Otherwise, an error number is returned to indicate
  75        the error.
  76 
  77 ERRORS
  78        The pthread_getschedparam() and pthread_setschedparam() functions will
  79        fail if:
  80 
  81        ESRCH
  82                 The value specified by thread does not refer to an existing
  83                 thread.
  84 
  85 
  86 
  87        The pthread_setschedparam() function will fail if:
  88 
  89        EINVAL
  90                  The value specified by policy or one of the scheduling
  91                  parameters associated with the scheduling policy policy is
  92                  invalid.
  93 
  94 
  95        EPERM
  96                  The caller does not have the appropriate permission to set
  97                  either the scheduling parameters or the scheduling policy of
  98                  the specified thread.