Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 729f05424cc160c67b8fe0f59a9b1af88a63b1e5
Ticket: 1901828fffffffffffffffffffffffffffffffff
Unix portability - cruft removal
User & Date: jenglish on 2008-02-26 10:52:19
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    Originator: YES
    
    unix/tclUnixPort.h has:
    
    #   include <sys/param.h>
    #   ifndef CLK_TCK
    #       ifdef HZ
    #           define CLK_TCK HZ
    #       else
    #           define CLK_TCK 60
    #       endif
    #   endif
    
    
    CLK_TCK was last used in Tcl 7.4, in Tcl_TimeCmd.  From Tcl 7.5 onwards, it does not appear anywhere else in the codebase.
    
    Furthermore: according to times(2) in the glibc manpages:
    
        |  The number of clock ticks per second can be obtained using
        |sysconf(_SC_CLK_TCK);
        |  In  POSIX-1996 the symbol CLK_TCK (defined in <time.h>) is mentioned as
        |  obsolescent. It is obsolete now.
    
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"