forked from len0rd/rockbox
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
This commit is contained in:
parent
344c41f644
commit
7e12bba0d2
6 changed files with 40 additions and 37 deletions
|
@ -601,6 +601,9 @@ static enum plugin_status test_track(char* filename)
|
|||
/* Save the current time before we spin up the disk to access the log */
|
||||
ticks = *rb->current_tick - starttick;
|
||||
|
||||
/* Be sure it is done */
|
||||
rb->thread_wait(codecthread_id);
|
||||
|
||||
log_text(str,true);
|
||||
|
||||
/* Close WAV file (if there was one) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue