WriteFile Write Security

Is ThreadFile Writing Safe? I mean, can I write the same file from several streams at the same time without synchronization? MSDN doesn't say anything about WriteFile thread safety.

+1
source share
1 answer

Yes, it is thread-safe, but its own, that is, it prevents a system crash, winning API supports internal locking when writing files, and locking - byte locking. more you can read this file lock

+1
source

All Articles