set threadnames to unique values

Origin commit data
------------------
Branch: ni/coolstream
Commit: fca14b17c5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-28 (Sat, 28 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2015-02-28 10:53:18 +01:00
parent 55a5cbe7a4
commit 022bcb2f08
9 changed files with 24 additions and 3 deletions

View File

@@ -45,6 +45,7 @@
#include <video.h>
#include <cs_api.h>
#include <driver/screenshot.h>
#include <system/set_threadname.h>
extern "C" {
#include <jpeglib.h>
@@ -106,6 +107,7 @@ bool CScreenShot::GetData()
/* start ::run in new thread to save file in selected format */
bool CScreenShot::Start()
{
set_threadname("n:screenshot");
bool ret = false;
if(GetData())
ret = (start() == 0);