Build mipmap peaks in capture IO thread, but don't wait on it to finish. May be incorrect.

This commit is contained in:
Jonathan Moore Liles 2008-05-17 11:23:37 -05:00
parent b57acca314
commit f920867579
2 changed files with 6 additions and 2 deletions

View File

@ -574,8 +574,10 @@ Peaks::finish_writing ( void )
_peak_writer = NULL;
/* now fill in the rest of the cache */
if ( ! fork() )
exit( make_peaks_mipmap() );
make_peaks_mipmap();
/* if ( ! fork() ) */
/* exit( make_peaks_mipmap() ); */
}
/* THREAD: IO */

View File

@ -182,6 +182,8 @@ Record_DS::disk_thread ( void )
#ifndef AVOID_UNNECESSARY_COPYING
delete[] cbuf;
#endif
_thread = NULL;
}