mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Parallelize Disk I/O and RegionFx processing
This commit is contained in:
parent
4b0da72bc2
commit
5b9e4fff63
15 changed files with 189 additions and 20 deletions
|
|
@ -280,6 +280,11 @@ pbd_pthread_priority (PBDThreadClass which)
|
|||
default:
|
||||
case THREAD_PROC:
|
||||
return -2;
|
||||
case THREAD_IO:
|
||||
/* https://github.com/mingw-w64/mingw-w64/blob/master/mingw-w64-libraries/winpthreads/src/sched.c
|
||||
* -> THREAD_PRIORITY_HIGHEST
|
||||
*/
|
||||
return -13;
|
||||
}
|
||||
#else
|
||||
int base = -20;
|
||||
|
|
@ -299,6 +304,8 @@ pbd_pthread_priority (PBDThreadClass which)
|
|||
default:
|
||||
case THREAD_PROC:
|
||||
return base - 2;
|
||||
case THREAD_IO:
|
||||
return base - 10;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue