top | item 46568466

(no title)

ptrwis | 1 month 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?

discuss

order

ptrwis|1 month ago

I mean, aren't system calls thread-safe?

spooneybarger|1 month ago

As a general rule, not all system calls are thread safe.