How can I use lock_guard in the dispatch block? Thanks a lot!
__block std::mutex mtx; // error here: Call to deleted constructor of \'std::mutex\' dispatch_bl