diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-09-26 23:59:18 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-09-26 23:59:18 +0200 |
commit | e948a05981a9136b25f5723040d8060a6a3bc328 (patch) | |
tree | 3f26a5873c9276f72fc7483b671b858774079ae1 | |
parent | 1b1bd56777358ef2fa538a9b7b62c6e8c823489b (diff) | |
download | matcha-threads-e948a05981a9136b25f5723040d8060a6a3bc328.tar.gz matcha-threads-e948a05981a9136b25f5723040d8060a6a3bc328.zip |
updated demo1
-rw-r--r-- | example/demo1.cc | 1 |
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; |