Add Unix FileStream Lock/Unlock
authorIan Hays <ianha@microsoft.com>
Thu, 17 Nov 2016 23:36:31 +0000 (15:36 -0800)
committerIan Hays <ianha@microsoft.com>
Thu, 17 Nov 2016 23:36:31 +0000 (15:36 -0800)
commit94c20b40648d38af9bd861b1f2725002a8187228
treef596e170e8e65f4948528ef70ec6ec2c3956d131
parentf66c3bf25677bf3d5b64c6563b7a25d39b4100cb
Add Unix FileStream Lock/Unlock

Implements FileStream Lock/Unlock by calling the SystemNative functions for fcntl F_SETLK

Commit migrated from https://github.com/dotnet/coreclr/commit/233c58ca964e15e6ce1e756940ec59819d797edf
src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Fcntl.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/corefx/System/IO/FileStream.Unix.cs
src/coreclr/src/mscorlib/mscorlib.shared.sources.props