Set names for the pipeline threads
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/prctl.h>
|
||||
|
||||
mp_state_io state_io;
|
||||
|
||||
@@ -26,7 +27,7 @@ static bool pipeline_changed = true;
|
||||
static void
|
||||
setup(MPPipeline *pipeline, const void *data)
|
||||
{
|
||||
return;
|
||||
prctl(PR_SET_NAME, "megapixels-io", NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user