*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pthread_delay_np | Section: 3 | Source: Digital UNIX | File: pthread_delay_np.3.gz
pthread_delay_np(3) Library Functions Manual pthread_delay_np(3) NAME pthread_delay_np - Delays a thread's execution. LIBRARY DECthreads POSIX 1003.1c Library (libpthread.so) SYNOPSIS #include <pthread.h> int pthread_delay_np( const struct timespec *interval); 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 in- terval. 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 cancelation 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 in- dicating the type of error. Possible return values are as follows: Successful completion. The value specified by interval is invalid. ERRORS None RELATED INFORMATION Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_delay_np(3)

Navigation Options