ThreadInputStream: call ThreadRead() inside the thread instead of Read()
Fixes deadlock bug in the "mms" plugin.
This commit is contained in:
parent
7cd53fb452
commit
85301853d6
2
NEWS
2
NEWS
@ -1,4 +1,6 @@
|
|||||||
ver 0.19.1 (not yet released)
|
ver 0.19.1 (not yet released)
|
||||||
|
* input
|
||||||
|
- mms: fix deadlock bug
|
||||||
* fix build failure on Mac OS X
|
* fix build failure on Mac OS X
|
||||||
|
|
||||||
ver 0.19 (2014/10/10)
|
ver 0.19 (2014/10/10)
|
||||||
|
@ -88,7 +88,7 @@ ThreadInputStream::ThreadFunc()
|
|||||||
Unlock();
|
Unlock();
|
||||||
|
|
||||||
Error error;
|
Error error;
|
||||||
size_t nbytes = Read(w.data, w.size, error);
|
size_t nbytes = ThreadRead(w.data, w.size, error);
|
||||||
|
|
||||||
Lock();
|
Lock();
|
||||||
cond.broadcast();
|
cond.broadcast();
|
||||||
|
Loading…
Reference in New Issue
Block a user