Rebalance demodulator threads, tweak priorities

This commit is contained in:
Charles J. Cliffe
2014-12-16 20:33:44 -05:00
parent 62c5ab38e5
commit 02cf2099a9
9 changed files with 87 additions and 30 deletions
+6
View File
@@ -89,6 +89,12 @@ int SDRThread::enumerate_rtl() {
}
void SDRThread::threadMain() {
//#ifdef __APPLE__
// pthread_t tID = pthread_self(); // ID of this thread
// int priority = sched_get_priority_min( SCHED_RR );
// sched_param prio = { priority }; // scheduling priority of thread
// pthread_setschedparam( tID, SCHED_RR, &prio );
//#endif
std::cout << "SDR thread initializing.." << std::endl;