/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Library/boost/libs/thread/test/test_7666.cpp
23 строки
458 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
// 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_CHRONO_VERSION 2 #define BOOST_THREAD_VERSION 2 #include <boost/thread/thread_only.hpp> void myFunc() { boost::this_thread::sleep(boost::posix_time::seconds(5)); } int main(int, char **) { boost::thread p(myFunc); p.join(); return 0; }