Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ebf19cd3db4bf114e4804c8873ad98d652e3e65c
Ticket: 219354ffffffffffffffffffffffffffffffffff
threaded notifier does not work with signals
User & Date: das on 2009-06-30 00:43:25
Changes

  1. icomment:
    one thing that should be noted however is that the signal handler implementation in TclX appears not to be async-signal safe in the threaded-tcl case, in particular the implementation of Tcl_AsyncMark() internally calls the non async-safe pthread_mutex_lock() multiple times as well as pthread_cond_broadcast().
    The Tcl docs make no guarantees that Tcl_AsyncMark() can safely be called from a signal handler (nor should they IMO).
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"