Files
seer/tests/helloworld/function1.cpp
T

16 lines
273 B
C++
Raw Normal View History

2021-09-05 11:58:58 -05:00
#include "/peak/src/Seer/helloworld/function1.h"
#include <iostream>
#include <unistd.h>
void function1 (const std::string& text) {
int i = 42;
sleep(2); // Simulate doing work.
std::cout << text << i << std::endl;
sleep(3); // Simulate doing work.
}