From 903c6f8b3cf2bae097dfbaf23c2ebea41ec8c8e7 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 18 Feb 2002 07:23:20 +0000 Subject: Update to reflect recent changes. --- README.NONPORTABLE | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'README.NONPORTABLE') diff --git a/README.NONPORTABLE b/README.NONPORTABLE index b6e6768..c2bbc18 100644 --- a/README.NONPORTABLE +++ b/README.NONPORTABLE @@ -1,6 +1,39 @@ Non-portable functions included in pthreads-win32 ------------------------------------------------- +void * +pthread_timechange_handler_np(void *) + + To improve tolerance against operator or time service + initiated system clock changes. + + This routine can be called by an application when it + receives a WM_TIMECHANGE message from the system. At + present it broadcasts all condition variables so that + waiting threads can wake up and re-evaluate their + conditions and restart their timed waits if required. + + It has the same return type and argument type as a + thread routine so that it may be called directly + through pthread_create() for asynchronicity. + + Parameters + + Although a parameter must be supplied, it is ignored. + The value NULL can be used. + + Return values + + It can return an error EAGAIN to indicate that not + all condition variables were broadcast for some reason. + Otherwise, 0 is returned. + + If run as a thread, the return value is returned + through pthread_join(), otherwise directly. + + The return value should be cast to an integer. + + HANDLE pthread_getw32threadhandle_np(pthread_t thread); -- cgit v1.2.3