New test programs.

This commit is contained in:
Ernie Pasveer
2022-05-13 17:48:38 -05:00
parent 4796d562de
commit ca5b5a7608
7 changed files with 69 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "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.
}