I use Asynchronous programming in C++ task in my app and several tasks would access a same file at the same time. Is there any suggested tech to control the
tasks to access the same file correctly?
Because we cannot access thread when using task, can classic tech like mutex or event use in task?