D 2014-09-11T16:08:56.314 L Global\sValues P 0bfc082b652429bf94eb6c07015195773103613c U dgp W 1080

Source Files

* portions of [/finfo?name=generic/tclUtil.c|tclUtil.c]

Public Interface

* None

Private Interface

* struct ProcessGlobalValue * TclGetProcessGlobalValue * TclSetProcessGlobalValue

Directly Depends On Public Interface

* [Hash Tables] * [Tcl_Obj System] * [Threads] * [Allocation] * [Encoding] * [Event Loops] * [Dynamic Strings] * [Panic]

Directly Depends On Private Interface of

* None

Discussion

A system for managing Tcl values that must be shared by the entire process, including all threads, but using caching so that thread locking is avoided when possible. Is able to withstand changing values of the system encoding. Best for things written once or few times and then read many times, and for things that have to be first recorded with one system encoding active, then read with a different one in place. Implemented entirely using public interfaces, so extensions could copy or even be the provider of this. Z 373b328e49fdc0332fa77c5707f8d25e