Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b1066616743e3e1531774e3f9c8d9a659d1de2e
Ticket: 3544685fffffffffffffffffffffffffffffffff
Threaded build failures on OpenBSD-current
User & Date: ferrieux on 2012-08-02 01:14:41
Changes

  1. icomment:
    Stu has just made the wall-clock experiment. Executive summary: no system clock drift.
    
    Details:
     (1) Get timestamp on a wall-clock minute boundary
     (2) make several failing tests, under ktrace, verifying the above gap in pthread_condwait's actual delay
     (3) Get 2nd minute-aligned timestamp
    
    Result: delta is 119.88, which to the precision of eye and finger is 2mn. (and any drift would have been in the other direction).
    
    Conclusion: pthread_condwait alone (not the system clock) has a problem.
    
    I suggest to try the patch mentioned earlier (the one Donal found, about second/nanosecond arithmetic)
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"