aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
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;