• src/conio/win32gdi.c

    From Deucе@VERT to Git commit to main/sbbs/master on Friday, December 05, 2025 22:41:13
    https://gitlab.synchro.net/main/sbbs/-/commit/16458f3b0ba13c98bbd18fa2
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Add a dash of crazy to placate MSDN.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Friday, December 05, 2025 23:53:18
    https://gitlab.synchro.net/main/sbbs/-/commit/151af2c066100dff02f06712
    Modified Files:
    src/conio/win32gdi.c
    Log Message:
    Almost, just turns out that CreatePipe() is useless.

    So, ReadFile() will work the same if you don't specify an OVERLAPPED
    structure regardless of a handle being overlapped or not. However, CreatePipe() doesn't create it overlapped, so we need to create our
    own CreatePipe() thing that does open the read end for overlapped.

    Also, fix some bugs in the overlapped bits and now it appears to work.

    Enjoy the lowered CPU utilization.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net