diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2014-08-30 11:28:50 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2014-08-30 14:01:21 -0400 |
commit | 5b08f1a5b99136ef052b6f430b62bc618cd44946 (patch) | |
tree | 257d405d78e871e6b944db987ffaf5c40f862fce /firmware/kernel/include/thread.h | |
parent | 5d31d3c3bc0358eeed08e2a5242dc2b065110aad (diff) | |
download | rockbox-5b08f1a5b99136ef052b6f430b62bc618cd44946.tar.gz rockbox-5b08f1a5b99136ef052b6f430b62bc618cd44946.zip |
Remove I/O priority. It is harmful when used with the new file code.
HAVE_IO_PRIORITY was defined for native targets with dircache.
It is already effectively disabled for the most part since dircache no
longer lowers its thread's I/O priority. It existed primarily for the
aforementioned configuration.
Change-Id: Ia04935305397ba14df34647c8ea29c2acaea92aa
Diffstat (limited to 'firmware/kernel/include/thread.h')
-rw-r--r-- | firmware/kernel/include/thread.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/kernel/include/thread.h b/firmware/kernel/include/thread.h index dfb632785e..a4f338ed0c 100644 --- a/firmware/kernel/include/thread.h +++ b/firmware/kernel/include/thread.h | |||
@@ -169,11 +169,6 @@ int thread_set_priority(unsigned int thread_id, int priority); | |||
169 | int thread_get_priority(unsigned int thread_id); | 169 | int thread_get_priority(unsigned int thread_id); |
170 | #endif /* HAVE_PRIORITY_SCHEDULING */ | 170 | #endif /* HAVE_PRIORITY_SCHEDULING */ |
171 | 171 | ||
172 | #ifdef HAVE_IO_PRIORITY | ||
173 | void thread_set_io_priority(unsigned int thread_id, int io_priority); | ||
174 | int thread_get_io_priority(unsigned int thread_id); | ||
175 | #endif /* HAVE_IO_PRIORITY */ | ||
176 | |||
177 | #if NUM_CORES > 1 | 172 | #if NUM_CORES > 1 |
178 | unsigned int switch_core(unsigned int new_core); | 173 | unsigned int switch_core(unsigned int new_core); |
179 | #endif | 174 | #endif |