share/template/template_threaded.cc
CsgApplication::Worker * CsgTestApp::ForkWorker() {
    RDFWorker *worker;
    worker = new RDFWorker();
// initialize
    worker->_cut_off = OptionsMap()["c"].as<double>();
    worker->_rdf.Initialize(0, worker->_cut_off, 50);
    return worker; 
}
// create and initialize single workers
// ForkWorker() will be called as often as the parameter '--nt NTHREADS'
// it creates a new worker and the user is required to initialize variables etc.
// (if needed)
create and initialize single workers
ForkWorker() will be called as often as the parameter '--nt NTHREADS'
it creates a new worker and the user is required to initialize variables etc.
(if needed)
create and initialize single workers ForkWorker () will be called as often as the parameter ' -- nt NTHREADS ' it creates a new worker and the user is required to initialize variables etc . ( if needed )
CsgApplication::Worker * CsgTestApp::ForkWorker() {
    RDFWorker *worker;
    worker = new RDFWorker();
    worker->_cut_off = OptionsMap()["c"].as<double>();
    worker->_rdf.Initialize(0, worker->_cut_off, 50);
    return worker; 
}
CsgApplication :: Worker * CsgTestApp :: ForkWorker ( ) { RDFWorker * worker ; worker = new RDFWorker ( ) ; worker -> _cut_off = OptionsMap ( ) [ " " ] . as < double > ( ) ; worker -> _rdf . Initialize ( 0 , worker -> _cut_off , 50 ) ; return worker ; }
create and initialize single workers
ForkWorker() will be called as often as the parameter '--nt NTHREADS'
it creates a new worker and the user is required to initialize variables etc.
create and initialize single workers ForkWorker () will be called as often as the parameter ' -- nt NTHREADS ' it creates a new worker and the user is required to initialize variables etc .
// initialize