mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
lcd4l.cpp: add threadname
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>
|
||||||
@@ -298,6 +299,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