Adding generation counter to iostreams component ensuring (locality-wise) ordering of all output