strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50ce22
)
- fixed mutex_unlock hander for getter
author
Martin Willi
<martin@strongswan.org>
Fri, 4 Nov 2005 09:38:28 +0000
(09:38 -0000)
committer
Martin Willi
<martin@strongswan.org>
Fri, 4 Nov 2005 09:38:28 +0000
(09:38 -0000)
Source/charon/job_queue.c
patch
|
blob
|
history
diff --git
a/Source/charon/job_queue.c
b/Source/charon/job_queue.c
index
b54be9c
..
783d70d
100644
(file)
--- a/
Source/charon/job_queue.c
+++ b/
Source/charon/job_queue.c
@@
-103,8
+103,8
@@
status_t get(private_job_queue_t *this, job_t **job)
{
pthread_cond_wait( &(this->condvar), &(this->mutex));
}
- // remove mutex-unlock handler
- pthread_cleanup_pop(
1
);
+ // remove mutex-unlock handler
(without executing)
+ pthread_cleanup_pop(
0
);
this->list->remove_first(this->list,(void **) job);
pthread_mutex_unlock(&(this->mutex));