input/{Async,Buffering,Thread}InputStream: set VMA name
This commit is contained in:
@@ -39,6 +39,7 @@ AsyncInputStream::AsyncInputStream(EventLoop &event_loop, const char *_url,
|
|||||||
buffer(&allocation.front(), allocation.size()),
|
buffer(&allocation.front(), allocation.size()),
|
||||||
resume_at(_resume_at)
|
resume_at(_resume_at)
|
||||||
{
|
{
|
||||||
|
allocation.SetName("InputStream");
|
||||||
allocation.ForkCow(false);
|
allocation.ForkCow(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -31,6 +31,8 @@ BufferingInputStream::BufferingInputStream(InputStreamPtr _input)
|
|||||||
{
|
{
|
||||||
input->SetHandler(this);
|
input->SetHandler(this);
|
||||||
|
|
||||||
|
buffer.SetName("InputCache");
|
||||||
|
|
||||||
thread.Start();
|
thread.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -35,6 +35,7 @@ ThreadInputStream::ThreadInputStream(const char *_plugin,
|
|||||||
allocation(_buffer_size),
|
allocation(_buffer_size),
|
||||||
buffer(&allocation.front(), allocation.size())
|
buffer(&allocation.front(), allocation.size())
|
||||||
{
|
{
|
||||||
|
allocation.SetName("InputStream");
|
||||||
allocation.ForkCow(false);
|
allocation.ForkCow(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user