It always takes me lots of time to figure out details regarding to the wait, notify, and notify_all etc. This article contains several examples and we dive into details to figure out how they work.
some tips about the cpp std::function
forward etc, in cpp, it seems important and ambiguous for the most of the people, we try to understand thoese concepts in different levels.
the content need to be updated, refer to the c cpp dir in the blockstaging, the original thing is here