Query: pthread_get_expiration_np
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pthread_get_expiration_np(3) Library Functions Manual pthread_get_expiration_np(3)NAMEpthread_get_expiration_np - Obtains a value representing a desired expiration time.LIBRARYDECthreads POSIX 1003.1c Library (libpthread.so)SYNOPSIS#include <pthread.h> int pthread_get_expiration_np( const struct timespec *delta, struct timespec *abstime);STANDARDSNonePARAMETERSNumber of seconds and nanoseconds to add to the current system time. (The result is the time in the future.) This result will be placed in abstime. Value representing the absolute expiration time. The absolute expiration time is obtained by adding delta to the current sys- tem time. The resulting abstime is in Universal Coordinated Time (UTC).DESCRIPTIONThis routine adds a specified interval to the current absolute system time and returns a new absolute time. This new absolute time is used as the expiration time in a call to pthread_cond_timedwait(3). The timespec structure contains the following two fields: tv_sec is an integral number of seconds. tv.nsec is an integral number of nanoseconds.RETURN VALUESIf 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 delta is invalid.ERRORSNoneRELATED INFORMATIONFunctions: pthread_cond_timedwait(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_get_expiration_np(3)
Related Man Pages |
---|
pthread_exc_get_status_np(3) - osf1 |
pthread_unlock_global_np(3) - osf1 |
tis_get_expiration(3) - osf1 |
tis_lock_global(3) - osf1 |
pthread_cond_timedwait(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Finding absolute values greater than a certain value |
GPS extracts fix delta time |