MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / release_dynamic_lock

Function release_dynamic_lock

modules/cfgutils/script_locks.c:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108int release_dynamic_lock(struct sip_msg *msg, str *string)
109{
110 int hash;
111
112 hash = (int)core_hash(string, NULL, lock_pool_size);
113
114 lock_set_release(dynamic_locks, hash);
115 LM_DBG("Released dynamic lock----- %d\n", hash);
116
117 return 1;
118}
119
120int strings_share_lock(struct sip_msg *msg, str *s1, str *s2)
121{

Callers

nothing calls this directly

Calls 2

core_hashFunction · 0.85
lock_set_releaseFunction · 0.85

Tested by

no test coverage detected