|
|
|
|
|
by IshKebab
1512 days ago
|
|
Threads have essentially the same API as Futures - normally you have some join of join handle and you can join a set of threads (the equivalent of awaiting a set of futures). Threads don't require locks and condvars. You can use channels and scoped joins etc. if you want. Give me some async code and I'll show you an easier threaded version. |
|