This repository was archived by the owner on Jul 26, 2023. It is now read-only.
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
Review and Improve Overlapped IO Policies #419
Closed
Description
Doing overlapped IO with the transition between managed and unmanaged code is significantly difficult. While the overlapped structure is recreated, and several methods have been provided, without additional work the process for actually using them is unclear and extremely error prone.
The .NET framework and .NET core both contain facilities that make this process easier. Examples are Overlapped
/NativeOverlapped
and ThreadPoolBoundHandle
. Since NativeOverlapped shares the same layout as the provided OVERLAPPED struct, using a pointer cast works, but seems to me a bit messy.
I'd like to start a discussion about how this library should handle this particular area.
Metadata
Metadata
Assignees
Labels
No labels