// Copyright (C) 2010 Vicente Botet
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_THREAD_VERSION 2
#include
#include
#include
#include
#include
#if defined(BOOST_THREAD_PLATFORM_PTHREAD)
#include
#endif
boost::mutex mtx;
boost::condition_variable cv;
using namespace boost::posix_time;
using namespace boost::gregorian;
int main()
{
#if defined(BOOST_THREAD_PLATFORM_PTHREAD)
for (int i=0; i