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

Function lock_destroy

lock_ops.h:247–252  ·  view source on GitHub ↗

TODO if is init

Source from the content-addressed store, hash-verified

245
246//TODO if is init
247inline static void lock_destroy(gen_lock_t* lock)
248{
249 union semun su;
250 su.val = 0;
251 semctl(*lock, 0, IPC_RMID, su);
252}
253
254
255inline static void lock_get(gen_lock_t* lock)

Callers 15

destroy_stats_collectorFunction · 0.85
lock_destroy_rwFunction · 0.85
destroy_black_listsFunction · 0.85
tls_free_domainFunction · 0.85
HashTable_newFunction · 0.85
Dialog_Param_delFunction · 0.85
stat_series_freeFunction · 0.85
new_htableFunction · 0.85
destroy_htableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected