#include <iostream>
#include "tbb/task_scheduler_init.h"

using namespace std;
using namespace tbb;

int main(int argc, char* argv[])
{
	task_scheduler_init init(task_scheduler_init::deferred);
	int ileWatkow = task_scheduler_init::default_num_threads();

	cout << "Domyślna ilość wątków: " << ileWatkow << endl;

	if (ileWatkow >= 1) {
	   init.initialize(ileWatkow);
	   cout << "Biblioteka zainicjalizowana" << endl;
	   init.terminate();
	}
	cin.get();
	return 0;
} 
