/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * \file Worker.cpp * * This is the * * Created on: Oct 19, 2011 * Author: heber */ #include #include #include int main(int argc, char **argv) { boost::asio::io_service io; boost::asio::deadline_timer t(io, boost::posix_time::seconds(5)); std::cout << "Deadline timer will now wait for 5 seconds." << std::endl; t.wait(); std::cout << "Deadline timer is done." << std::endl; std::cout << "Hello World!" << std::endl; return 0; }