mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
root receiver crashing bug resolved
This commit is contained in:
parent
7b36c63d8f
commit
c2c80c6bf6
@ -1402,12 +1402,14 @@ void UDPStandardImplementation::setThreadPriorities(){
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(int i = 0; i < numberofDataCallbackThreads; ++i){
|
if(dataStreamEnable){
|
||||||
if(rights)
|
for(int i = 0; i < numberofDataCallbackThreads; ++i){
|
||||||
if (pthread_setschedparam(dataCallbackThreads[i], SCHED_RR, &datacallback_param) == EPERM){
|
if(rights)
|
||||||
rights = false;
|
if (pthread_setschedparam(dataCallbackThreads[i], SCHED_RR, &datacallback_param) == EPERM){
|
||||||
break;
|
rights = false;
|
||||||
}
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (pthread_setschedparam(pthread_self(),5 , &tcp_param) == EPERM)
|
if (pthread_setschedparam(pthread_self(),5 , &tcp_param) == EPERM)
|
||||||
rights = false;
|
rights = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user