Aug-15-2019, 06:15 AM
Skaperen Wrote:i can't use "self" because that might collide with other threadsEach thread can create its own instance of the class. These instances won't collide.
Skaperen Wrote:what about defining these action functions inside the function that needs to call themI don't think it helps function to share local variables. It would be a good idea to write a complete working example and compare the different implementations.