Commit e1e42af
Wait till say_hello() has completed
The join statement removes the race between thread_pool and main thread.1 parent 0e6d7e5 commit e1e42af
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
0 commit comments