Set names for the pipeline threads

This commit is contained in:
Martijn Braam
2024-01-18 02:35:51 +01:00
parent 4032b53592
commit e0e94a62b2
3 changed files with 6 additions and 1 deletions

View File

@@ -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