mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
lcd4l.cpp: add threadname
Origin commit data
------------------
Branch: ni/coolstream
Commit: f1354e6b66
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-06-30 (Wed, 30 Jun 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
#include <system/set_threadname.h>
|
||||||
|
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
#include <neutrino.h>
|
#include <neutrino.h>
|
||||||
@@ -294,7 +295,7 @@ void CLCD4l::Init()
|
|||||||
void *CLCD4l::LCD4lProc(void *arg)
|
void *CLCD4l::LCD4lProc(void *arg)
|
||||||
{
|
{
|
||||||
CLCD4l *PLCD4l = static_cast<CLCD4l *>(arg);
|
CLCD4l *PLCD4l = static_cast<CLCD4l *>(arg);
|
||||||
|
set_threadname("lcd4l");
|
||||||
PLCD4l->Init();
|
PLCD4l->Init();
|
||||||
|
|
||||||
sleep(5); //please wait !
|
sleep(5); //please wait !
|
||||||
|
Reference in New Issue
Block a user