List:Internals« Previous MessageNext Message »
From:Sinisa Date:May 16 2002 3:58pm
Subject:bk commit into 3.23 tree
View as plain text  
Below is the list of changes that have just been commited into a local
3.23. repository of Sinisa. When Sinisa does a push, they will be
propogaged to the main repository and within 24 hours after the push into
the public repository. For information on how to access
the public repository see
http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet@stripped, 2002-05-16 18:58:50+03:00, Sinisa@stripped
  A final and proper fix for HP-UX problems with pthread_cond_timedwait.
  
  This time I did it "by the book" as this function can return any 
  of the down cited values after timeout !! This is now done 100 %
  according to HP-UX DCE documentation.
  
  This made Hewlett-Packard very happy.
  

  mysys/my_pthread.c
    1.15 02/05/16 18:58:49 Sinisa@stripped +1 -1
    A final and proper fix for HP-UX problems with pthread_cond_timedwait.
    
    This time I did it "by the book" as this function can return any 
    of the down cited values after timeout !! This is now done 100 %
    according to HP-UX DCE documentation.
    
    This made Hewlett-Packard very happy.
    

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	Sinisa
# Host:	sinisa.nasamreza.org
# Root:	/mnt/mail/work/mysql

--- 1.14/mysys/my_pthread.c	Tue Apr 16 21:18:15 2002
+++ 1.15/mysys/my_pthread.c	Thu May 16 18:58:49 2002
@@ -420,7 +420,7 @@
 			      struct timespec *abstime)
 {
   int error=pthread_cond_timedwait(cond,mutex,abstime);
-  return error == EAGAIN ? ETIMEDOUT : error;
+  return (error == EAGAIN || error == -1) ? ETIMEDOUT : error;
 }
 #endif /* HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT */
 
Thread
bk commit into 3.23 treeSinisa16 May