mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
set threadnames to unique values
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5307e62506
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-06-07 (Wed, 07 Jun 2017)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
1409e2b754
commit
b06b9394b7
@@ -46,6 +46,7 @@
|
||||
#include <video.h>
|
||||
#include <cs_api.h>
|
||||
#include <driver/screenshot.h>
|
||||
#include <system/set_threadname.h>
|
||||
|
||||
extern "C" {
|
||||
#include <jpeglib.h>
|
||||
@@ -162,6 +163,7 @@ void CScreenShot::cleanupThread(void *arg)
|
||||
/* start ::run in new thread to save file in selected format */
|
||||
bool CScreenShot::Start()
|
||||
{
|
||||
set_threadname("n:screenshot");
|
||||
bool ret = false;
|
||||
if (GetData())
|
||||
ret = startThread();
|
||||
|
Reference in New Issue
Block a user