thr_getprio man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]



thr_getprio(3scl)					     thr_getprio(3scl)

NAME
       thr_getprio - Gets the priority for the specified thread.

LIBRARY
       SCL Threads Library (libthread.so)

SYNOPSIS
       #include <thread.h>

       int thr_getprio(
			thread_t  thread_id,
			int	 *priority );

PARAMETERS
       Identifier  of thread for which the priority is requested.  Returns the
       specified thread's priority.

DESCRIPTION
       This routine returns the priority of the specified thread.

SCL IMPLEMENTATION NOTES
       POSIX threads has no equivalent of thread priority.  The	 POSIX	thread
       library manages thread scheduling.

       The  SCL thread library maintains a priority value for each thread, but
       this value does not affect the scheduling of the thread.

       When a thread is created, the SCL thread library sets its  priority  to
       0.   If the thread's priority is modifed by calls to thr_setprio(3scl),
       SCL updates the	thread's  priority,  such  that	 subsequent  calls  to
       thr_getprio(3scl) get the appropriate value.

RETURN VALUES
       If  an  error  condition	 occurs, this routine returns an integer value
       indicating the type of error.

       Additional error return information may be written  to  the  SCL	 error
       log.  Refer to scl_error_log(4scl) for details.

       Possible	 return	 values	 are  as  follows: Successful completion.  The
       value specified by thread_id does not refer to an existing thread.

ERRORS
       None.

RELATED INFORMATION
       Functions: scl_intro(3scl), scl_thread_intro(3scl), thr_setprio(3scl)

       Files: scl_error_log(4scl)

       Manuals: Solaris Compatibility Libraries User's Guide

							     thr_getprio(3scl)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

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