/* * Project: JobMarket * Description: asynchronous Server/Controller/Client-approach to parallel computing, based on boost::asio * Copyright (C) 2012 Frederik Heber. All rights reserved. * */ /* * RemoveAllResultsOperation.cpp * * Created on: Aug 31, 2012 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif // boost asio needs specific operator new #include #include "CodePatterns/MemDebug.hpp" #include "JobMarket/Operations/Controllers/RemoveAllResultsOperation.hpp" #include #include #include "JobMarket/Connection.hpp" // Must come before boost/serialization headers. #include "CodePatterns/Info.hpp" #include "JobMarket/ControllerChoices.hpp" /** Virtual internal function to give shutdown choice. * */ void RemoveAllResultsOperation::internal() { DEBUG_FUNCTION_ENTRYEXIT enum ControllerChoices choice = EmptyResultQueue; connection_.sync_write(choice); }