Hey, I read the go’s example and java’s example for signals and found go used channels which is safe for goroutines and java used just simple ArrayList which is not safe for multithreaded. I feel confused. Will there be a problem if the collection storing signal data is not thread-safe, probably the consuming and producing of data inside the list are not done at the same time so ArrayList suffice here?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Signal method invocation and workflow thread safety | 8 | 2144 | December 22, 2025 | |
| Can Signal trigger Activity and keep strict order? | 8 | 4306 | April 12, 2024 | |
| Is this still a recommended way of handling signals with the java sdk | 3 | 154 | June 24, 2024 | |
| Defering signals without getting Concurrent Modification Exception | 4 | 534 | July 17, 2023 | |
| How does workflow thread synchronization work? | 3 | 3898 | March 4, 2022 |