13914 use read/write locking on Windows#14381
Conversation
|
Should this have a CHANGES entry? |
|
Once #14319 is merged (in a day or so), you should be able to rebase this and remove the Merge branch.. Rewording the commit message of the first commit to just say... |
Yes - I think a CHANGES.md entry is warranted for this. |
Yes... the merge commit was a failed attempt to replace the first commit, which was misattributed to my work email address. I'm not quite sure how to fix this. Re-pushing the remote branch comes to mind, but I thought that might lose review history. I do intend to clean this up before merge; I'll need to learn a bit more git before I can, though. |
Do not worry. Just force push with clean commits. |
|
#14319 just got merged... |
Thanks, I'll rebase, have another go at deleting the first commit (causing the CLA violation) and force-push the branch. |
mattcaswell
left a comment
There was a problem hiding this comment.
Approved subject to:
- the nit mentioned below being fixed, and
- the CIs passing once this is rebased and the merge commit removed.
crypto/threads_win.c
Outdated
There was a problem hiding this comment.
Put the else on the same line as }
} else {
|
I guess this PR can be taken out of "draft" now. |
07543ad to
ca9564f
Compare
ca9564f to
9211cf6
Compare
mattcaswell
left a comment
There was a problem hiding this comment.
Reconfirming my approval. The CI failures all appear to be known issues unrelated to this PR.
Ping for second review.
|
Needs to be rebased.. |
|
It needs a rebase but merging the changes entry shouldn't impact approval. |
9211cf6 to
4230852
Compare
Fixes openssl#13914 The "SRWLock" synchronization primitive is available in Windows Vista and later. CRYPTO_THREAD functions now use SRWLock functions when the target operating system supports them.
4230852 to
f229aa9
Compare
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
|
Pushed! Thank you for your contribution!! |
Fixes #13914 The "SRWLock" synchronization primitive is available in Windows Vista and later. CRYPTO_THREAD functions now use SRWLock functions when the target operating system supports them. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from #14381)
Checklist
test_encoder_decoder_legacy.tcurrently hangs. Either Cache legacy keys instead of downgrading them #14319 or recursive EVP_PKEY lock in evp_keymgmt_util_clear_operation_cache() #14171 will fix.