Author: davidxu
Date: Mon Mar 19 00:07:10 2012
New Revision: 233134
URL: http://svn.freebsd.org/changeset/base/233134

Log:
  Use clockid parameter instead of hard-coded CLOCK_REALTIME.
  
  Reported by:  pjd

Modified:
  head/lib/libthr/thread/thr_umtx.c

Modified: head/lib/libthr/thread/thr_umtx.c
==============================================================================
--- head/lib/libthr/thread/thr_umtx.c   Sun Mar 18 21:54:59 2012        
(r233133)
+++ head/lib/libthr/thread/thr_umtx.c   Mon Mar 19 00:07:10 2012        
(r233134)
@@ -202,7 +202,7 @@ _thr_umtx_timedwait_uint(volatile u_int 
                tm_p = NULL;
                tm_size = 0;
        } else {
-               timeout._clockid = CLOCK_REALTIME;
+               timeout._clockid = clockid;
                timeout._flags = UMTX_ABSTIME;
                timeout._timeout = *abstime;
                tm_p = &timeout;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to