diff options
| author | norrarvid <norrarvid@gmail.com> | 2012-06-05 08:08:04 +0200 |
|---|---|---|
| committer | norrarvid <norrarvid@gmail.com> | 2012-06-05 08:08:04 +0200 |
| commit | eef475e025b62aaebc24b1eaa603cb3a92ffd07a (patch) | |
| tree | 03b136fea5bbc428008be16c20af079490741da3 /sesman/lock.c | |
| parent | a555dc5a4282514b9d4eae2a26a5d57665176f1a (diff) | |
| parent | dbd2cbca8e5ad361706b0ac013b62607bae4b5d3 (diff) | |
| download | xrdp-proprietary-eef475e025b62aaebc24b1eaa603cb3a92ffd07a.tar.gz xrdp-proprietary-eef475e025b62aaebc24b1eaa603cb3a92ffd07a.zip | |
timeout added for the reply to come from sesman
Diffstat (limited to 'sesman/lock.c')
| -rw-r--r-- | sesman/lock.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sesman/lock.c b/sesman/lock.c index d5a91af6..83023cba 100644 --- a/sesman/lock.c +++ b/sesman/lock.c @@ -55,7 +55,7 @@ void APP_CC lock_chain_acquire(void) { /* lock the chain */ - LOG_DBG(&(g_cfg->log), "lock_chain_acquire()"); + LOG_DBG("lock_chain_acquire()"); tc_mutex_lock(g_lock_chain); } @@ -64,7 +64,7 @@ void APP_CC lock_chain_release(void) { /* unlock the chain */ - LOG_DBG(&(g_cfg->log), "lock_chain_release()"); + LOG_DBG("lock_chain_release()"); tc_mutex_unlock(g_lock_chain); } @@ -73,7 +73,7 @@ void APP_CC lock_socket_acquire(void) { /* lock socket variable */ - LOG_DBG(&(g_cfg->log), "lock_socket_acquire()"); + LOG_DBG("lock_socket_acquire()"); tc_sem_dec(g_lock_socket); } @@ -82,7 +82,7 @@ void APP_CC lock_socket_release(void) { /* unlock socket variable */ - LOG_DBG(&(g_cfg->log), "lock_socket_release()"); + LOG_DBG("lock_socket_release()"); tc_sem_inc(g_lock_socket); } @@ -91,7 +91,7 @@ void APP_CC lock_sync_acquire(void) { /* lock sync variable */ - LOG_DBG(&(g_cfg->log), "lock_sync_acquire()"); + LOG_DBG("lock_sync_acquire()"); tc_mutex_lock(g_sync_mutex); } @@ -100,7 +100,7 @@ void APP_CC lock_sync_release(void) { /* unlock socket variable */ - LOG_DBG(&(g_cfg->log), "lock_sync_release()"); + LOG_DBG("lock_sync_release()"); tc_mutex_unlock(g_sync_mutex); } @@ -109,7 +109,7 @@ void APP_CC lock_sync_sem_acquire(void) { /* dec sem */ - LOG_DBG(&(g_cfg->log), "lock_sync_sem_acquire()"); + LOG_DBG("lock_sync_sem_acquire()"); tc_sem_dec(g_sync_sem); } @@ -118,6 +118,6 @@ void APP_CC lock_sync_sem_release(void) { /* inc sem */ - LOG_DBG(&(g_cfg->log), "lock_sync_sem_release()"); + LOG_DBG("lock_sync_sem_release()"); tc_sem_inc(g_sync_sem); } |
