pthread_delay_np man page on DigitalUNIX

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

pthread_delay_np(3)					   pthread_delay_np(3)

NAME
       pthread_delay_np - Delays a thread's execution

SYNOPSIS
       #include <pthread.h>

       int pthread_delay_np(
	       const struct timespec *interval );

LIBRARY
       DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS
       None

PARAMETERS
       Number  of seconds and nanoseconds to delay execution. The value speci‐
       fied for each must be greater than or equal to zero.

DESCRIPTION
       This routine causes a thread to delay execution for a specific interval
       of  time.  This	interval  ends	at the current time plus the specified
       interval. The routine will not return before the end of the interval is
       reached,	 but  may  return an arbitrary amount of time after the end of
       the interval is reached. This can be due to system load, thread priori‐
       ties, and system timer granularity.

       Specifying  an interval of zero (0) seconds and zero (0) nanoseconds is
       allowed and can be used to force the thread to give up the processor or
       to deliver a pending cancellation request.

       The  timespec structure contains the following two fields: tv_sec is an
       integral number of seconds.  tv_nsec is an integral number of  nanosec‐
       onds.

RETURN VALUES
       If  an  error  condition	 occurs, this routine returns an integer value
       indicating the type of error. Possible return values  are  as  follows:
       Successful completion.  The value specified by interval is invalid.

ERRORS
       None

SEE ALSO
       Manuals: Guide to DECthreads and Programmer's Guide

							   pthread_delay_np(3)
[top]

List of man pages available for DigitalUNIX

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