mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
set threadnames to unique values
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e0544cd94
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:
committed by
vanhofen
parent
1559ac4075
commit
5b78fe01f1
@@ -1430,7 +1430,8 @@ void CTimeThread::run()
|
||||
{
|
||||
time_t dvb_time = 0;
|
||||
xprintf("%s::run:: starting, pid %d (%lu)\n", name.c_str(), getpid(), pthread_self());
|
||||
|
||||
const char *tn = ("sd:" + name).c_str();
|
||||
set_threadname(tn);
|
||||
addFilters();
|
||||
DMX::start();
|
||||
|
||||
@@ -1544,6 +1545,8 @@ int CSectionThread::Sleep()
|
||||
void CSectionThread::run()
|
||||
{
|
||||
xprintf("%s::run:: starting, pid %d (%lu)\n", name.c_str(), getpid(), pthread_self());
|
||||
const char *tn = ("sd:" + name).c_str();
|
||||
set_threadname(tn);
|
||||
if (sections_debug)
|
||||
dump_sched_info(name);
|
||||
|
||||
@@ -2222,6 +2225,7 @@ void CEitManager::run()
|
||||
int rc;
|
||||
|
||||
xprintf("[sectionsd] starting\n");
|
||||
set_threadname("sd:eitmanager");
|
||||
printf("SIevent size: %d\n", (int)sizeof(SIevent));
|
||||
|
||||
/* "export NO_SLOW_ADDEVENT=true" to disable this */
|
||||
|
Reference in New Issue
Block a user