• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2005, 2006 Douglas Gregor.
2 
3 // Use, modification and distribution is subject to the Boost Software
4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 
7 #include <boost/mpi/status.hpp>
8 
9 namespace boost { namespace mpi {
10 
cancelled() const11 bool status::cancelled() const
12 {
13   int flag = 0;
14   BOOST_MPI_CHECK_RESULT(MPI_Test_cancelled, (&m_status, &flag));
15   return flag != 0;
16 }
17 
18 }}
19