summaryrefslogtreecommitdiff
path: root/README.NONPORTABLE
diff options
context:
space:
mode:
authorrpj <rpj>2002-02-18 07:23:20 +0000
committerrpj <rpj>2002-02-18 07:23:20 +0000
commit903c6f8b3cf2bae097dfbaf23c2ebea41ec8c8e7 (patch)
tree712530040e2db59cbd7aa864f847a60b93a0588c /README.NONPORTABLE
parenta416ab17ecf9f2cb0f1e3f7bd645a8d1ce690ca2 (diff)
Update to reflect recent changes.
Diffstat (limited to 'README.NONPORTABLE')
-rw-r--r--README.NONPORTABLE33
1 files changed, 33 insertions, 0 deletions
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);