mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
New test programs.
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user