Comment by ptrwis
1 day ago
Doesn't (honest question) the operating system kernel prevent data races in memory accesses at the level of system calls like brk? I wonder at what level the operating system handles such things?
1 day ago
Doesn't (honest question) the operating system kernel prevent data races in memory accesses at the level of system calls like brk? I wonder at what level the operating system handles such things?
I mean, aren't system calls thread-safe?
As a general rule, not all system calls are thread safe.