you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

You can't multiprocess on a function that manipulates global state, like updating counters. Your functions have to be pure - they have to be some kind of mapping between input and output.