detail::yield(k) added.

[SVN r43888]
This commit is contained in:
Peter Dimov
2008-03-27 22:20:11 +00:00
parent b08789b784
commit bb076d67e6
3 changed files with 156 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
//
// yield_k_test.cpp
//
// Copyright 2008 Peter Dimov
//
// 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)
//
#include <boost/detail/yield_k.hpp>
// Sanity check only
int main()
{
for( unsigned k = 0; k < 256; ++k )
{
boost::detail::yield( k );
}
return 0;
}