mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-05 06:15:18 +00:00
Make sched_waveform thread SCHED_FIFO - 25.
This commit is contained in:
parent
b2a2c67d84
commit
60c66816d0
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue