Add flag to compression settings to use atomics.

This commit is contained in:
Pavel Krajcevski 2013-03-06 19:01:31 -05:00
parent c475ee1dec
commit 2127c04987

View file

@ -79,6 +79,11 @@ struct SCompressionSettings {
// exit.
int iJobSize;
// This flags instructs the compression routine to be launched in succession
// with many threads at once. Atomic expressions based on the availability
// in the platform and compiler will provide synchronization.
bool bUseAtomics;
// This is an optinal pointer to a stat manager class. If
// instantiated and the proper function pointer is defined
// then the compression routine that collects the stats will