Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2263eaf4105c873bf181e91ea6ba4dd77560fd6d
Ticket: 620735ffffffffffffffffffffffffffffffffff
Tcl crash after unload on Windows 2000
User & Date: nobody on 2002-10-09 19:51:28
Changes

  1. icomment:
    Logged In: NO 
    
    
    After some thought, I believe a much cleaner solution 
    would be to use SleepEx in the CalibrationThread 
    routine (with the bAlertable flag set to TRUE) and then to 
    send the thread a "deadly" APC via QueueUserAPC 
    (portable to Win 95+ and Win NT4+).  The APC routine 
    should simply call ExitThread.  The handle to pass to 
    QueueUserAPC can be had from the 
    variable "timeInfo.calibrationThread" 
    in "win/tclWinTime.c".
    
    JJM
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"