NsShareVar Struct Reference


Data Fields

Ns_Cs lock
int shareCount
int flags
Tcl_Obj * objPtr
Tcl_HashTable array

Detailed Description

Shared variables are implemented with a per-server hash table that is keyed by the variable name. The table entries store the shared value and a lock. As some point we may want to reduce the number of locks by sharing them among variables.


Field Documentation

Ns_Cs NsShareVar::lock

int NsShareVar::shareCount

Lock to serialize access to the value

int NsShareVar::flags

Number of threads sharing the value

Tcl_Obj* NsShareVar::objPtr

Undefined, scalar, or array

Tcl_HashTable NsShareVar::array

Value for Scalar values


The documentation for this struct was generated from the following file:
Generated on Tue Sep 4 19:58:57 2007 by  doxygen 1.5.1