Obviously avoiding shared memory via functional programming stops race conditions. However not every application can do that.
If you have a web server, every request could go to a different threads' schedule to quickly enable parallelism, however if you have any sessions that need to be accessed or updated as part of this request you will need to use shared memory.
I was trying to ask about methods for controlling shared memory, I guess I didn't word it very well.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Obviously avoiding shared memory via functional programming stops race conditions. However not every application can do that.
If you have a web server, every request could go to a different threads' schedule to quickly enable parallelism, however if you have any sessions that need to be accessed or updated as part of this request you will need to use shared memory.
I was trying to ask about methods for controlling shared memory, I guess I didn't word it very well.