mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-03-17 09:24:37 +01:00
Make sched_waveform thread SCHED_FIFO - 25.
This commit is contained in:
parent
b2a2c67d84
commit
60c66816d0
|
|
@ -694,6 +694,10 @@ void sched_waveform_Init(void)
|
|||
sem_init(&sched_waveform_sem, 0, 0);
|
||||
|
||||
pthread_create(&_waveform_thread, NULL, &_sched_waveform_thread, NULL);
|
||||
|
||||
struct sched_param fifo_param;
|
||||
fifo_param.sched_priority = 25;
|
||||
pthread_setschedparam(_waveform_thread, SCHED_FIFO, &fifo_param);
|
||||
}
|
||||
|
||||
void sched_waveformThreadExit()
|
||||
|
|
|
|||
Loading…
Reference in a new issue