Expand description
Process-scoped key namespaces.
namespace set binds a prefix to the calling process. Later put/get/del
(and tick lock/unlock) from that process — or a descendant — prefix keys with
it until the process exits or a new namespace is set.
--namespace / $UNIFIER_NAMESPACE overrides the bound prefix for one
invocation. A key starting with / is absolute (no prefix). Empty
$UNIFIER_NAMESPACE disables the bound prefix for that invocation.
Functions§
- apply_
prefix - Prefix
keywithns, unlesskeyis absolute (/...). - clear
- Remove this process’s namespace binding (ancestors are unchanged).
- effective
- Effective namespace: explicit override, else nearest living ancestor binding.
- owner_
pid - PID whose namespace this unifier invocation should bind or look up.
- qualify_
key - Apply the effective namespace to a key path.
- reap_
dead - Drop bindings whose process is gone.
- set
- Bind
nameas the namespace for the calling process. - validate_
namespace