pthread_gettimeslice_np(3t) hpux man page | unix.com

Man Page: pthread_gettimeslice_np

Operating Environment: hpux

Section: 3t

pthread_gettimeslice_np(3T)											       pthread_gettimeslice_np(3T)

NAME
pthread_gettimeslice_np(), pthread_settimeslice_np() - set or get the scheduling timeslice value for PTHREAD_SCOPE_PROCESS threads with SCHED_TIMESHARE scheduling policy
SYNOPSIS
PARAMETERS
tslice This parameter specifies the timeslice value in milliseconds to be set.
DESCRIPTION
The functions are used to set and retrieve the timeslice value in milliseconds for timeshare process scope threads. The timeslice value will not take into effect until the current time quantum is used up for the thread. sets the timeslice value to tslice for all timeshare process scope threads in the process. retrieves the process' timeslice value. tslice may range between 0 and
RETURN VALUE
returns the current timeslice value in tslice. Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the following error number: [EINVAL] The timeslice value was negative or greater than
WARNINGS
Setting the timeslice value lesser than the default timeslice value may cause a performance deterioration.
AUTHOR
and were developed by HP.
SEE ALSO
pthread_getschedparam(3T), pthread_attr_setschedpolicy(3T), pthread_attr_getschedparam(3T), pthread_attr_getschedpolicy(3T), rtsched(2).
STANDARDS CONFORMANCE
Pthread Library pthread_gettimeslice_np(3T)
Related Man Pages
pthread_attr_getscope(3) - linux
pthread_attr_setscope(3) - linux
pthread_get_nice_np(3t) - hpux
pthread_settimeslice_np(3t) - hpux
timeslice(5) - hpux
Similar Topics in the Unix Linux Community
Unix File Permissions
How to extract every repeated string between two specific string?
SAN Migration question
Wrong Array...