Why loop variable should not be used in FORK JOIN_NONE

In reply to svq:

This has to do with the actual values passed into write_int(). Even though each call to the task has its own copy of the formal arguments, they all will have the same value of i by the time the call occurs. It has nothing to do with the task being static or automatic in this case.