Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 37282905a51bd4b823fe0bab8e7822fa55d94a53
Ticket: 5d170b5ca5e12743006d737c79f959f3efabc644
checkin 9f8b7bea5344f1b0 broke netbsd's thread notifier
User & Date: jan.nijtmans on 2015-09-07 18:53:24
Changes

  1. icomment:
    Gustaf's explanation and performance measures can be found here:
    [http://code.activestate.com/lists/tcl-core/14779/]
    
    Quoting (partially):
    This morning i've got a lock-free version of "auto-lazy" working (based 
    on the
    low-level pthread_*lock interface to avoid the problem with tcl's 
    mega-locks).
    One reason for the locks in the *Prepare callback is to have the mutex 
    variables
    in a defined state in the child. This can be addressed as well by 
    reinitializing
    the mutexes (and condition variables in question)
    
    With this, we reach essentially the same performance as without the 
    at-fork callbacks:
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"