[wdmaudiodev] Creating threads with high priority in APO

  • From: Dadi <dadiku@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 17 Dec 2014 22:44:35 +0200

Hi,

We are trying to improve our APO processing performance by creating
additional threads and then do parallel processing for some of our effects.
However we found that the highest priority we can have for new threads we
created (using CreateThread) is base priority 15 while the base priority of
the main processing thread is 22.
Unfortunately we cannot use the new threads if they will not have priority
at least as the main processing thread, we cannot gain any benefit from
them this way so we need to create threads with priority 22 or more.

How can this be achieved?

Thanks,
Dadi

Other related posts: