in reply to No Change in Pre- or Post-Increment Varable
What am I missing? I'm assuming it's something trivial that I'm just overlooking.
Variables aren't shared when you fork, each fork gets its own copy, so in the children you increment the variable, the parent doesn't know about that, children have their own copy
|
|---|