diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-22 05:57:38 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-22 05:57:38 +0000 |
commit | 7e12bba0d26a609ce16e981f0ebd4b8e73f59a8e (patch) | |
tree | 71673763db2a63da47e34f62e7513b2c8e987c87 /apps/plugins/test_codec.c | |
parent | 344c41f644e9b95da55a66ea47d7b4afc6102e47 (diff) | |
download | rockbox-7e12bba0d26a609ce16e981f0ebd4b8e73f59a8e.tar.gz rockbox-7e12bba0d26a609ce16e981f0ebd4b8e73f59a8e.zip |
Phase in thread_wait when waiting for a thread to exit. Begin phasing out the spinlock object for general use; it will become a multicore-only object for core locking. Take care of plugins first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15260 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r-- | apps/plugins/test_codec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 9859e0c39f..e629e11a79 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -601,6 +601,9 @@ static enum plugin_status test_track(char* filename) | |||
601 | /* Save the current time before we spin up the disk to access the log */ | 601 | /* Save the current time before we spin up the disk to access the log */ |
602 | ticks = *rb->current_tick - starttick; | 602 | ticks = *rb->current_tick - starttick; |
603 | 603 | ||
604 | /* Be sure it is done */ | ||
605 | rb->thread_wait(codecthread_id); | ||
606 | |||
604 | log_text(str,true); | 607 | log_text(str,true); |
605 | 608 | ||
606 | /* Close WAV file (if there was one) */ | 609 | /* Close WAV file (if there was one) */ |