Query: pthread_gettimeslice_np
OS: hpux
Section: 3t
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pthread_gettimeslice_np(3T) pthread_gettimeslice_np(3T)NAMEpthread_gettimeslice_np(), pthread_settimeslice_np() - set or get the scheduling timeslice value for PTHREAD_SCOPE_PROCESS threads with SCHED_TIMESHARE scheduling policySYNOPSISPARAMETERStslice This parameter specifies the timeslice value in milliseconds to be set.DESCRIPTIONThe 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 andRETURN VALUEreturns 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).ERRORSIf any of the following occur, the function returns the following error number: [EINVAL] The timeslice value was negative or greater thanWARNINGSSetting the timeslice value lesser than the default timeslice value may cause a performance deterioration.AUTHORand were developed by HP.SEE ALSOpthread_getschedparam(3T), pthread_attr_setschedpolicy(3T), pthread_attr_getschedparam(3T), pthread_attr_getschedpolicy(3T), rtsched(2).STANDARDS CONFORMANCEPthread Library pthread_gettimeslice_np(3T)
Related Man Pages |
---|
pthread_attr_setscope(3) - linux |
pthread_attr_getscope(3) - debian |
pthread_get_nice_np(3t) - hpux |
pthread_yield(3t) - hpux |
sys_attrs_proc(5) - osf1 |
Similar Topics in the Unix Linux Community |
---|
How to list file size on HPUX? |
Is UNIX an open source OS ? |
Hpux 11iV3 administration document |
awk - Multi-line data to be stored in variable |
Tar Command |