Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c8c3f330c7ffa3dc950131b002a93cb77f4c2d9b
Ticket: 3027815fffffffffffffffffffffffffffffffff
Safe interpreters can use Thread to execute unsafe commands
User & Date: dkf on 2010-07-12 04:41:02
Changes

  1. icomment:
    I suggest making thread creation a restricted operation and that a safe interpreter should only be able to communicate with other interpreters that it's master has permitted it to do so to (which would require a new operation; sorry!)
    
    But really, it would be better if there was some way for the (non-safe) master to control messages sent (and what variables are shared, what mutexes are available, etc.) more thoroughly. I've tended to assume that it would be best if the thread extension simply wasn't marked as safe at all; let the master expose (safe) aliases to operations as necessary.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"