projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42de852
)
Fix typo in semaphore.h
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sun, 20 Jan 2013 22:17:10 +0000
(17:17 -0500)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sun, 20 Jan 2013 22:17:10 +0000
(17:17 -0500)
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/semaphore.h
patch
|
blob
|
history
diff --git
a/src/semaphore.h
b/src/semaphore.h
index
e18f764
..
97b0ad9
100644
(file)
--- a/
src/semaphore.h
+++ b/
src/semaphore.h
@@
-142,7
+142,7
@@
sxe_msemaphore_trigger(sxe_msemaphore_t sem, int idx)
{
pthread_mutex_lock(&(sem->mtx));
sem->generation++;
-
B
pthread_cond_signal(&(sem->cnd[idx]));
+
pthread_cond_signal(&(sem->cnd[idx]));
pthread_mutex_unlock(&(sem->mtx));
}