mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 03:04:35 +02:00
Reduce nice level
This commit is contained in:
@@ -66,7 +66,7 @@ void UdpRecvModule::receive_thread(const uint16_t udp_port)
|
||||
|
||||
pid_t tid;
|
||||
tid = syscall(SYS_gettid);
|
||||
int ret = setpriority(PRIO_PROCESS, tid, -10);
|
||||
int ret = setpriority(PRIO_PROCESS, tid, -20);
|
||||
if (ret == -1) throw runtime_error("cannot set nice");
|
||||
|
||||
UdpReceiver udp_receiver;
|
||||
|
||||
Reference in New Issue
Block a user