-
Notifications
You must be signed in to change notification settings - Fork 455
[CDRIVER-6048] Add New Time and Duration Functionality #2074
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
Open
vector-of-bool
wants to merge
55
commits into
mongodb:master
Choose a base branch
from
vector-of-bool:CDRIVER-6048-time-types
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 41 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
524ca34
New `duration` type
vector-of-bool e8a607b
Add a shim header for including Win32 APIs
vector-of-bool 4f66d77
New time point and sleeping functions
vector-of-bool a69e197
[fixup] Fix preproc error in #error directive
vector-of-bool 381aba5
Convert all sleeps to use duration-typed sleeps
vector-of-bool 9fbc463
Support infix syntax for duration comparisons
vector-of-bool d403401
Infix syntax for time comparison
vector-of-bool 8641196
Fix detection of POSIX clocks on libmuslc
vector-of-bool 33c73e9
[fixup] Header ordering for Win32
vector-of-bool 6b68bcb
More integer comparison assertions
vector-of-bool d08ebe2
A deadline timer type
vector-of-bool eb4482d
More doc and copyright comments
vector-of-bool 3f4d645
Use Win32 QueryPerformanceCounter for getting times
vector-of-bool fda1736
Change windows-lean for a general platform header
vector-of-bool edd30fc
Set an appropriate Windows version
vector-of-bool e7f39f8
[fixup] macos compat
vector-of-bool aa23a28
Make duration API significantly more concise.
vector-of-bool feb4836
Clean up some macro magic
vector-of-bool 1b38434
Merge branch 'master' into CDRIVER-6048-time-types
vector-of-bool d5704de
Fix up macro expansion to support nested expressions
vector-of-bool af1e828
More duration for mlib_later
vector-of-bool c44fdfa
Fix MSVC preproc disagreements
vector-of-bool a953be2
Formatting
vector-of-bool f5501a4
Clean up macro definitions
vector-of-bool 7dbccb6
Use mlib_now() in bson monotonic time
vector-of-bool 864b352
More time convenience APIs
vector-of-bool 4865813
Cleanup
vector-of-bool 38fc430
Refactor of async command to use new time APIs
vector-of-bool f72cd5a
Rename a lot of private command object attributes
vector-of-bool bde8406
Rename accidental duplicate test case
vector-of-bool a23c8eb
[fixup] Missing updates in conditional sections
vector-of-bool 5c76085
[fixup] Time member rename in Windows
vector-of-bool b7628ec
[fixup] More conditional compilation misses
vector-of-bool 55ed326
Fix dead-write warning and simplify some macro usage
vector-of-bool c40bffc
Fix: Wrong state when setting cancellation
vector-of-bool af308c8
Merge branch 'master' into CDRIVER-6048-time-types
vector-of-bool c623b52
Fix: sleep_for not using the checked useconds value
vector-of-bool 3e7bb31
Test case cleanup
vector-of-bool 161c403
Comment cleanup and spelling in async-cmd
vector-of-bool 52e9a14
Remove unneeded inclusions following a goofy merge
vector-of-bool 4eba25c
Drop more unneeded headers
vector-of-bool b6aea1e
Fix copyright statements
vector-of-bool 41c978e
const correctness
vector-of-bool 36a1cda
Missing headers for sleep()
vector-of-bool d362230
Rewrite some test macros as duration types
vector-of-bool 3e29b8f
Tweak spelling of seconds suffix, add hour suffix
vector-of-bool 07c2568
Drive-by timer change
vector-of-bool 1232d46
Add a function to get the cock ID for mlib_now()
vector-of-bool 9f3b192
Tweaks following PR reviews
vector-of-bool 6aa01b7
`MLIB_DEFERRED` macro for simpler macro magic
vector-of-bool d7031fe
Rewrtie client_pool_pop() to use our timer type
vector-of-bool 0e4718a
Remove <features.h> inclusion
vector-of-bool a7336f4
Make cancellation requests conditional on non-error states
vector-of-bool 190086a
Minor spelling and name changes
vector-of-bool 43e349d
Change topology scanner to use typed times
vector-of-bool 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.