Overview
| Artifact ID: | 0bfc082b652429bf94eb6c07015195773103613c |
|---|---|
| Page Name: | Global Values |
| Date: | 2014-09-11 16:06:08 |
| Original User: | dgp |
| Next | 9ae4ca0574cf0927e50e2fd49bae7e8e02ce3f2b |
Content
Source Files
- portions of tclUtil.c
Public Interface
- None
Private Interface
- struct ProcessGlobalValue
- TclGetProcessGlobalValue
- TclSetProcessGlobalValue
Directly Depends On Public Interface
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. Best for things written once or few times and then read many times. Implemented entirely using public interfaces, so extensions could copy or even be the provider of this.