diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-12 19:34:45 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-29 07:15:40 -0500 |
commit | d85f4b5e1c48399e084face42a8c9bd0ae1ba997 (patch) | |
tree | d494e7e6dc0cb35a7841b26c90f6a2e93b3672b6 | |
parent | 4e5fcbe89883800cf8beadfebfb0333237db5af8 (diff) | |
download | rockbox-d85f4b5e1c.tar.gz rockbox-d85f4b5e1c.zip |
pdbox: Move core thread off COP
This is all but guaranteed to be broken since pdbox doesn't use
SHAREDBSS_ATTR or SHAREDDATA_ATTR, needed to share memory safely
with COP threads.
Judging by the codec performance comparison on the wiki, if the
iRiver H100 and H300 can run PDbox on one core, PP targets should
have no problem doing it - they are 2-4x faster even on codecs
that don't have multi-core optimizations.
Change-Id: I8f556013146cb670f69cc42e80b1c768ba0f74cd
-rw-r--r-- | apps/plugins/pdbox/pdbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/pdbox.c b/apps/plugins/pdbox/pdbox.c index f21913788b..08236bfeba 100644 --- a/apps/plugins/pdbox/pdbox.c +++ b/apps/plugins/pdbox/pdbox.c @@ -229,7 +229,7 @@ enum plugin_status plugin_start(const void* parameter) 0, /* FIXME Which flags? */ "PD core" IF_PRIO(, PRIORITY_REALTIME) - IF_COP(, COP)); + IF_COP(, CPU)); gui_thread_id = rb->create_thread(&gui_thread, |