Share via

Shared Lock method. How well does it perform when it comes to files?

John 511 Reputation points
2021-06-20T05:35:15.303+00:00

I am looking to use a shared lock method on a binary or text file.

I have learned that it is when share locking a file, the file is movable only afterwards.

Is that true?

If it is, then can any user provide me some source code snippet examples?

Regards,

John-1477

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.