mirror of
https://github.com/ProgramSnail/build_system_2022.git
synced 2025-12-06 00:48:42 +00:00
init
This commit is contained in:
parent
4d899f64a7
commit
b4a7121411
23 changed files with 681 additions and 11 deletions
13
test_tasks.hpp
Normal file
13
test_tasks.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <chrono>
|
||||
#include <cstddef>
|
||||
#include <thread>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "task.hpp"
|
||||
|
||||
inline build_system::Task constructTestTask(size_t duration) {
|
||||
return [duration]() {
|
||||
std::this_thread::sleep_for(std::chrono::seconds(duration));
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue