aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-26 23:59:18 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-26 23:59:18 +0200
commite948a05981a9136b25f5723040d8060a6a3bc328 (patch)
tree3f26a5873c9276f72fc7483b671b858774079ae1 /example
parent1b1bd56777358ef2fa538a9b7b62c6e8c823489b (diff)
downloadmatcha-threads-e948a05981a9136b25f5723040d8060a6a3bc328.tar.gz
matcha-threads-e948a05981a9136b25f5723040d8060a6a3bc328.zip
updated demo1
Diffstat (limited to 'example')
-rw-r--r--example/demo1.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/demo1.cc b/example/demo1.cc
index 1c910cd..aa13c0c 100644
--- a/example/demo1.cc
+++ b/example/demo1.cc
@@ -27,6 +27,7 @@ int main() {
e.spawn(std::make_unique<TestThread>("Thread2"));
e.spawn(std::make_unique<TestThread>("Thread3"));
e.run();
+ e.run();
puts("[main] finish main thread");
return 0;