pthread_settimeslice_np man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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 mil‐
			liseconds to be set.

DESCRIPTION
       The functions are used to set and retrieve the timeslice value in  mil‐
       liseconds  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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net