Added an allocator function to allocate the hash in shared memory.
Added also locking stuff
doc/
subfolder, the README file is autogenerated)Added a new allocator function to str_hash.h. This new function allows to allocate the hash table in shared memory.
Changes to struct str_hash_table:
Changes to struct str_hash_head:
Changes to struct str_hash_entry:
Added functions to lock and unlock the head when needed.
Modified functions str_hash_add and str_hash_get to lock the head when needed
Added function str_hash_destroy to remove the hash table and all its contents from memory.
https://github.com/kamailio/kamailio/pull/1535
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.