[Swift] Changes to Mutex-es to guard the staticly shared [DFA] by martinvw · Pull Request #3276 · antlr/antlr4

@martinvw

By sharing the mutex in the same way as the DFA array it becomes possible to run in parallel

Added a test in ThreadingTests

Fixes: 3271
Signed-off-by: Martin van Wingerden <martin@martinvw.nl>

@martinvw mentioned this pull request

Sep 14, 2021

2 tasks

@martinvw martinvw changed the title Changes to Mutex-es to guard the staticly shared [DFA] [Swift] Changes to Mutex-es to guard the staticly shared [DFA]

Sep 14, 2021

@martinvw

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
Signed-off-by: Martin van Wingerden <martin@martinvw.nl>