implemented SCHED_RR scheduling with priority in receiver-only if super user

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@490 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-03-08 15:27:25 +00:00
parent d89e405748
commit d205e79106
3 changed files with 27 additions and 18 deletions

View File

@ -736,6 +736,7 @@ void postProcessing::startThread(int delflag) {
// param.sched_priority = 5;
// scheduling parameters of main thread
ret = pthread_setschedparam(pthread_self(), policy, &mparam);
//#ifdef VERBOSE
// printf("current priority is %d\n",param.sched_priority);
//#endif