News for hackers. Stuff that matters.
Re:Show HN: Async tasks in 350 lines of C by rkaehn on Tuesday March 12, 2024 @08:33AM (#39678715)
The tasks themselves come from a pool and are reused automatically, so no call to `free` is needed there. As for the executor, destroying it is a bit involved, because you need to wait for the currently executed task to finish before joining the threads and releasing the resources. It is a feature I do want to work on in the future though.

There are no comments on this comment yet.