-
Notifications
You must be signed in to change notification settings - Fork 84
OS interface #1439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
OS interface #1439
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
7895c88
feat: add Windows platform support
sepcnt b11ef21
fix: use constants, CI placeholder, detailed comment and better
sepcnt 1ad2f65
Merge branch 'master' into feat-windows-support
sepcnt e7e5f74
Add OS abstraction
qinsoon 7cfd2b3
Implement OS interface for Windows
qinsoon 0cba681
Able to build on Windows
qinsoon cda7b72
Test passed on Windows
qinsoon 3bdf295
Build and pass tests on Linux
qinsoon 88ccd39
Refactor MmapStrategy to builder style
qinsoon 582b885
Get macOS to work
qinsoon c09128d
Add CPU affinity methods into Process
qinsoon 1be26c3
Tidy up for Linux
qinsoon f781f9a
Tidy up for macOS
qinsoon 86baa5b
Tidy up for Windows
qinsoon a36639c
Fix for 32 bits linux
qinsoon 04ea5aa
Restructure os imp
qinsoon 72d98ea
Introduce trait OS. Rename set/zero to memset/zero.
qinsoon 4ab4f52
Revert windows-related changes.
qinsoon ab892b0
Merge branch 'master' into os-interface
qinsoon b638bad
Fix macos build
qinsoon 67c5789
Put set/zero back to crate::util::memory. Other minor changes to address
qinsoon dd24170
Remove MmapStrategy::SIDE_METADATA (unused). Minor fix to unprotect
qinsoon 474d60a
Further remove some changes due to windows support
qinsoon 9853346
Fix style check
qinsoon 4390600
Minor fix. Change mprotect/munprotect to set_memory_access.
qinsoon 8e44495
Add Process/ThreadIDType for OSProcess
qinsoon 46b0818
Add doc for process/thread id type
qinsoon 70cba51
Extract some methods from linux/android to linux_common
qinsoon 8b1bf8a
Add back comments for align_alloc
qinsoon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.