mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Consolidate stack-size and priority of rt-threads
This commit is contained in:
parent
485ac45477
commit
3d166c7789
13 changed files with 36 additions and 34 deletions
|
|
@ -228,11 +228,8 @@ WinMMEMidiOutputDevice::start_midi_output_thread ()
|
|||
{
|
||||
m_thread_quit = false;
|
||||
|
||||
//pthread_attr_t attr;
|
||||
size_t stacksize = 100000;
|
||||
|
||||
// TODO Use native threads
|
||||
if (pbd_realtime_pthread_create (PBD_SCHED_FIFO, -21, stacksize,
|
||||
if (pbd_realtime_pthread_create (PBD_SCHED_FIFO, PBD_RT_PRI_MIDI, PBD_RT_STACKSIZE_HELP,
|
||||
&m_output_thread_handle, midi_output_thread, this)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue