InputStream: convert to class
This commit is contained in:
@@ -92,6 +92,15 @@ InputStream::Update()
|
||||
plugin.update(this);
|
||||
}
|
||||
|
||||
void
|
||||
InputStream::SetReady()
|
||||
{
|
||||
assert(!ready);
|
||||
|
||||
ready = true;
|
||||
cond.broadcast();
|
||||
}
|
||||
|
||||
void
|
||||
InputStream::WaitReady()
|
||||
{
|
||||
|
Reference in New Issue
Block a user