/*
 * Worker.cc
 *
 *  Created on: 20 janv. 2013
 *      Author: taz
 */

#include "Worker.hh"

namespace AMDA {
namespace Helpers {

Worker::Worker() :
		_running(false) {

}

Worker::~Worker() {
	  _running=false;
	  _taskList.push(NULL);
	  _thread.join();
}

} /* namespace Helpers */
} /* namespace AMDA */