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