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
FileStream
was working withSet/GetFilePointer
the problem was that the use of aFileStream
allocated withwas not threadsafe. Since you changed that
FileStream
has now its internal FilePointer without accessing theSet/GetFilterPointer
it 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