projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c4f7e1
)
Remove unnecessary mutex unlock at the end of multithreaded event loop
author
Miklos Szeredi
<mszeredi@suse.cz>
Mon, 2 Jan 2012 17:15:05 +0000
(18:15 +0100)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Mon, 2 Jan 2012 17:15:05 +0000
(18:15 +0100)
ChangeLog
patch
|
blob
|
history
lib/fuse_loop_mt.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 404c81fad90fef646990b586d3fafd40622a2c7a..0cda4f80ec946442d551f5e9b8a47d0d10bcb215 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2012-01-02 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Remove unnecessary mutex unlock at the end of multithreaded
+ event loop.
+
2011-12-09 Miklos Szeredi <miklos@szeredi.hu>
* Fix hang in wait_on_path(). Reported by Ville Silventoinen
diff --git
a/lib/fuse_loop_mt.c
b/lib/fuse_loop_mt.c
index b5ad1c74a3df9267e35a80cf74c4a95a757fdc85..7ae58900a501dbdb3da4a79d420526ea3d9fa71d 100644
(file)
--- a/
lib/fuse_loop_mt.c
+++ b/
lib/fuse_loop_mt.c
@@
-244,7
+244,6
@@
int fuse_session_loop_mt(struct fuse_session *se)
for (w = mt.main.next; w != &mt.main; w = w->next)
pthread_cancel(w->thread_id);
mt.exit = 1;
- pthread_mutex_unlock(&mt.lock);
while (mt.main.next != &mt.main)
fuse_join_worker(&mt, mt.main.next);