-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Not a feature request, bug report or anything... Just sharing what i've found after doing minimal research + testing
There are 3 OS-dependant functions in the API:
configureTtyNonBlocking: Apparently, Windows is non-blocking by default: This would be a nop, easyconfigureSerialNonBlocking: As far as i can tell, you can't change an open file's configuration (well, get current config and reopen with changes, i guess).- Either doing that, or directly opening in non-blocking mode, would require manual low-level fiddling with windows-API calls or PR'ing such options to upstream zig (
FILE_FLAG_OVERLAPPED). I didn't feel like messing that much 😛
- Either doing that, or directly opening in non-blocking mode, would require manual low-level fiddling with windows-API calls or PR'ing such options to upstream zig (
restore: Shall be trivial, just undo theoverlappedflag if we had to add it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels