Revert "move libthread to libstb-hal"

This reverts commit d5cea508e0.


Origin commit data
------------------
Branch: master
Commit: 6b8b8cd551
Author: max_10 <max_10@gmx.de>
Date: 2018-09-20 (Thu, 20 Sep 2018)



------------------
This commit was generated by Migit
This commit is contained in:
max_10
2018-09-20 17:42:13 +02:00
parent 9a0a03c733
commit 4cabdf7d12
23 changed files with 85 additions and 272 deletions

View File

@@ -145,7 +145,7 @@ int cVideo::Start(void *, unsigned short, unsigned short, void *)
{
lt_debug("%s running %d >\n", __func__, thread_running);
if (!thread_running && !HAL_nodec)
Thread::startThread();
SimpleThread::startThread();
lt_debug("%s running %d <\n", __func__, thread_running);
return 0;
}
@@ -155,7 +155,7 @@ int cVideo::Stop(bool)
lt_debug("%s running %d >\n", __func__, thread_running);
if (thread_running) {
thread_running = false;
Thread::joinThread();
SimpleThread::joinThread();
}
lt_debug("%s running %d <\n", __func__, thread_running);
return 0;