input/thread: un-inline the constructor
This commit is contained in:
parent
c8a2a557db
commit
bc93c7a1fc
@ -26,6 +26,17 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
ThreadInputStream::ThreadInputStream(const char *_plugin,
|
||||
const char *_uri,
|
||||
Mutex &_mutex, Cond &_cond,
|
||||
size_t _buffer_size)
|
||||
:InputStream(_uri, _mutex, _cond),
|
||||
plugin(_plugin),
|
||||
thread(BIND_THIS_METHOD(ThreadFunc)),
|
||||
buffer_size(_buffer_size)
|
||||
{
|
||||
}
|
||||
|
||||
ThreadInputStream::~ThreadInputStream()
|
||||
{
|
||||
{
|
||||
|
@ -70,11 +70,7 @@ class ThreadInputStream : public InputStream {
|
||||
public:
|
||||
ThreadInputStream(const char *_plugin,
|
||||
const char *_uri, Mutex &_mutex, Cond &_cond,
|
||||
size_t _buffer_size)
|
||||
:InputStream(_uri, _mutex, _cond),
|
||||
plugin(_plugin),
|
||||
thread(BIND_THIS_METHOD(ThreadFunc)),
|
||||
buffer_size(_buffer_size) {}
|
||||
size_t _buffer_size);
|
||||
|
||||
virtual ~ThreadInputStream();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user