Replies: 1 comment 2 replies
-
|
A FileStream instance should not be used concurrently. If you need concurrent access, you can use the RandomAccess type introduced in .NET 6. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Originally since the
FileStreamwas working withSet/GetFilePointerthe problem was that the use of aFileStreamallocated withwas not threadsafe. Since you changed that
FileStreamhas now its internal FilePointer without accessing theSet/GetFilterPointerit seems to me that this is threadsafe now, but couldn't find any note on this. Can someone please clarify?Beta Was this translation helpful? Give feedback.
All reactions