microsoft / GraphEngine

Microsoft Graph Engine
MIT License
2.2k stars 328 forks source link

use dotnet async operations #327

Closed neilmiaowang closed 2 years ago

neilmiaowang commented 4 years ago
  1. add begin_client_send and begin_client_recv function to Trinity.C project, use IOCP to do async socket send/receive. It is Windows only.
  2. update Trinity.Core to use bind IOCP socket, create OVERLAPPED structure and call begin_client_send/recv
  3. update TrinityServer listener to use async operations.
  4. update all code to use async Task accordingly.
ghost commented 4 years ago

CLA assistant check
All CLA requirements met.

shaobin commented 2 years ago

The pull request will be closed due to the following reasons:

1) The changes are dramatic to the codebase; it is difficult to fully test the changes and their implications to the current Graph Engine applications. Suggestion: split the pull request in small ones. 2) No compelling reasons to make the changes. 3) Build failure.