Add boost/core/yield_primitives.hpp

This commit is contained in:
Peter Dimov
2023-06-01 23:08:32 +03:00
parent bf17035a2d
commit 4e769d1cdd
10 changed files with 387 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// Test for sp_thread_sleep
//
// Copyright 2023 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#include <boost/core/yield_primitives.hpp>
int main()
{
for( int i = 0; i < 1000; ++i )
{
boost::core::sp_thread_sleep();
}
}