forked from open-simh/simh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Manage poll() file descriptors more efficiently. Both Linux() poll and Windows WSAPoll() ignore file descriptors that are negative in the pollfd array. Set the pollfd.fd file descriptor to INVALID_SOCKET when no longer needed. Reuse the pollfd array element if have_valid_socket() returns false. - sim_slirp_dispatch(): Removed, empty function no longer required. - sim_deb: Remove code that NULLs this FILE pointer when "flushing" the debug output. Presumably, closing the file and re-opening it flushes the debug output. Synchronizing when this operation occurs with other code in other threads also write to sim_deb needs to be revisited. For the time being, just fflush(sim_deb). Otherwise, _sim_debug_write_all() gets stuck in an infinite loop writing zero bytes.
- Loading branch information
Showing
15 changed files
with
316 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.