[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/boostorg/thread/develop/test/test_6130.cpp [Back]  [Original]

// 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

Web Proxy Viewer  |  New URL  |  Original Page