diff options
author | deva <deva> | 2005-06-16 21:28:57 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-16 21:28:57 +0000 |
commit | e0592745a40dae2e14e5b6d9226f41a293ababc9 (patch) | |
tree | b3640c07fd6af71aa01bed384613ffda6c03bf41 /src/decoder.cc | |
parent | c397f2dcdc399b43cf150f8000e711fc20613deb (diff) |
Rewrote thread object
Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to
growing server queue)
Diffstat (limited to 'src/decoder.cc')
-rw-r--r-- | src/decoder.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/decoder.cc b/src/decoder.cc index 404fc5f..5704347 100644 --- a/src/decoder.cc +++ b/src/decoder.cc @@ -39,6 +39,11 @@ /* * $Log$ + * Revision 1.33 2005/06/16 21:28:57 deva + * Rewrote thread object + * Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to + * growing server queue) + * * Revision 1.32 2005/06/09 11:00:03 deva * Added daemon code, and cleaned up using -Wall and -Werror * @@ -218,7 +223,7 @@ void Decoder::decode() sem_post(encode_sem); } -void Decoder::run() { +void Decoder::thread_main() { decode(); fprintf(stderr, "Decoder thread stopped.\n"); fflush(stderr); } |