[Core] Protect access to taskInfos with a mutex.
[Core] Protect access to taskInfos with a mutex.

apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild