Hacker News new | ask | show | jobs
by ptrwis 159 days 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 comments

I mean, aren't system calls thread-safe?
As a general rule, not all system calls are thread safe.