Use AsAtomic from ngcore

This commit is contained in:
Matthias Hochsteger 2019-10-08 20:39:29 +02:00
parent 18bdd9df93
commit fe78d9d7b4

View File

@ -96,12 +96,6 @@ void ParallelFor( int first, int next, const TFunc & f )
template<typename T>
inline atomic<T> & AsAtomic (T & d)
{
return reinterpret_cast<atomic<T>&> (d);
}
typedef void (*TaskManager)(std::function<void(int,int)>);
typedef void (*Tracer)(string, bool); // false .. start, true .. stop