2 ms·
For gcc, there is this (to be used after the memset() call): asm volatile("" : : : "memory"); (see https://en.wikipedia.org/wiki/Memory_ordering#Memory_barr
by lazyjones 13y ago
For gcc, there is this (to be used after the memset() call):
asm volatile("" : : : "memory");
(see https://en.wikipedia.org/wiki/Memory_ordering#Memory_barrier_types https://en.wikipedia.org/wiki/Memory_ordering#Memory_barrier...)