4 ms·
And hope you don't have any state that can collide.
by mentat 10y ago
And hope you don't have any state that can collide.
- jldugger 10y agofork() starts new processes, so that would be a weird state to collide.
- mohaine 10y agoI think you mean that if you are calling fork you better not have any state. Otherwise you will soon have multiple independent/mutated copies of your state which is normally not a good thing. But you are correct that they would not collide.
- jldugger 10y agofork() starts new processes, so that would be a weird state to collide.