Module: sip-router
Branch: 4.2
Commit: 7e6a27a907806fc48c35895c471c7d1ab97f2d27
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7e6a27a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Nov 8 10:57:00 2014 +0100
htable: make locking to access a slot re-entrant for a process
- proper functionality for sht_lock()/sht_unlock()
(cherry picked from commit 4f07daab9cb95e13c7c89a9a566d4a8c88b9145e)
---
modules/htable/ht_api.c | 119 +++++++++++++++++++++++++++++-----------------
modules/htable/ht_api.h | 11 +++-
modules/htable/ht_db.c | 3 +-
modules/htable/htable.c | 38 ++++++++--------
4 files changed, 104 insertions(+), 67 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=7e6…