Build mipmap peaks in capture IO thread, but don't wait on it to finish. May be incorrect.
This commit is contained in:
parent
b57acca314
commit
f920867579
|
@ -574,8 +574,10 @@ Peaks::finish_writing ( void )
|
||||||
_peak_writer = NULL;
|
_peak_writer = NULL;
|
||||||
|
|
||||||
/* now fill in the rest of the cache */
|
/* now fill in the rest of the cache */
|
||||||
if ( ! fork() )
|
make_peaks_mipmap();
|
||||||
exit( make_peaks_mipmap() );
|
/* if ( ! fork() ) */
|
||||||
|
/* exit( make_peaks_mipmap() ); */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* THREAD: IO */
|
/* THREAD: IO */
|
||||||
|
|
|
@ -182,6 +182,8 @@ Record_DS::disk_thread ( void )
|
||||||
#ifndef AVOID_UNNECESSARY_COPYING
|
#ifndef AVOID_UNNECESSARY_COPYING
|
||||||
delete[] cbuf;
|
delete[] cbuf;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
_thread = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue