Tcl Source Code

View Ticket
Login
Ticket UUID: 1446946
Title: alternative Tcl_Filesystem architectures
Type: RFE Created on: 2006-03-10 03:55:21
Submitter: dgp Assigned to: dgp
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2006-03-10 03:55:21
Status: Open Closed by:
Resolution: None Closed on:
Version: None
Description:
While working on a Tcl_Filesystem
bug (932314), the comments raised
several possible different ways
to keep the per-thread cache
of the list of Tcl_Filesystems
in sync with a master list.

These included

a) Use of Concurrent Read /
   Exclusive Write (CREW) locks.

b) Changing the whole Tcl_Filesystem
   implementation to manage filesystem
   registration either per-thread or
   per-interp, rather than keeping
   it process global with a master list.

On the HEAD we might also consider
whether the new ProcessGlobalValue
struct solves the right problems to
be of use here.

This report opened as a place to
continue consideration of these
possibilities, while closing the
bug, which is long fixed.