From: Vasiljevic Z. <zv...@ar...> - 2007-10-12 19:36:40
|
So: The configuration is global and read-only. Parameters may be retrieved at run-time using [cmd ns_config], although usually configuration parameters are used by Tcl library files at start-up. I submitted a patch/module to RFE section since some time already, that implements the config storage that is read/write. The emphasis was to minimize locking for readers (making readers fast) on the cost of making writers slow(er). Has anybody checked that? Because I think that we might really use that module as a replacement for the read-only version that is currently in place. We may even make the (new module) read-only per switch (default) but allow read-write for those who might need it (we, for example). Any ideas, objections? |