Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not always. [fs.race.behavior] makes it undefined behavior to use the C++ filesystem library in a way that introduces a race on the filesystem, including with _other processes_:

https://eel.is/c++draft/fs.race.behavior

I'm not sure how it is possible for a program to avoid this.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: