util_memoize_initialized_p (public, deprecated)
util_memoize_initialized_p
Defined in packages/acs-tcl/tcl/memoize-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Return 1 if the util_memoize cache has been initialized and is ready to be used and 0 otherwise. util_memoize has now a failsafe mechanism when invoked before the cache is there.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # # If the cache is not yet created (or some other error is # raised) the util_memoize cache is not available. # if {[catch {ns_cache set util_memoize __util_memoize_installed_p 1} error]} { return 0 } # # When he call above has success, the cache is initialized, we # can rewrite the function in an always succeeding one and # return success as well. # proc ::util_memoize_initialized_p {} { return 1 } return 1XQL Not present: Generic, PostgreSQL, Oracle