I created a class of static functions that I use regularly but I recently began implementing threads in one of my projects. I'm a little confused with how my static functions will work when called by multiple threads. If a static function contains only local variables and does not modify anything outside the function, is it safe to call the function from multiple threads at the same time? They will likely have varying input/return values.
Also, if anyone has a link to information on the "life cycle of a function" inside the interpereter, I'd love to take a look.
Thanks!
Also, if anyone has a link to information on the "life cycle of a function" inside the interpereter, I'd love to take a look.
Thanks!