You're right. It seems to be a deadlock. There's only one mutex but it's deadlocked with the futures "f.wait()".
You're right. It seems to be a deadlock. There's only one mutex but it's deadlocked with the futures "f.wait()".