pthread_win32_getabstime_np
#include <pthread.h>
struct timespec * pthread_win32_getabstime_np (struct timespec * abstime, struct timespec * reltime);
Primarily to facilitate writing unit tests but exported for convenience. The struct timespec pointed to by the first parameter is modified to represent the current time plus an optional offset value struct timespec in a platform optimal way.
Returns the first parameter so is compatible as the struct timespec * parameter in POSIX timed function calls.
None.
This routine returns the first parameter (non-zero) on success, or NULL (0) if it fails.
None.
Ross Johnson for use with Pthreads-w32.