Skip to content

Fixes for wolfSSL conditional porting#6686

Merged
JacobBarthelmeh merged 10 commits intowolfSSL:masterfrom
dgarske:fix_cond
Aug 9, 2023
Merged

Fixes for wolfSSL conditional porting#6686
JacobBarthelmeh merged 10 commits intowolfSSL:masterfrom
dgarske:fix_cond

Conversation

@dgarske
Copy link
Copy Markdown
Member

@dgarske dgarske commented Aug 8, 2023

Description

Fix for conditional (signals), which might cause deadlock in high usage situations.
Added better signal support on MacOS.
Issue created in PR #6437.

Testing

How did you test?

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@dgarske dgarske self-assigned this Aug 8, 2023
Comment thread wolfssl/test.h Outdated
Comment thread wolfssl/test.h Outdated
Comment thread wolfssl/test.h Outdated
Copy link
Copy Markdown
Member

@julek-wolfssl julek-wolfssl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a dedicated mutex just for the condition stuff then I don't see why lockCount is needed? Also I would be cautious if the variables being set around the signal calls will register in all threads correctly.

…ge situations. Added better signal support on MacOS. Issue created in PR wolfSSL#6437.
@dgarske dgarske requested a review from julek-wolfssl August 8, 2023 19:51
@dgarske
Copy link
Copy Markdown
Member Author

dgarske commented Aug 8, 2023

Might fix: curl/curl#11533

@dgarske
Copy link
Copy Markdown
Member Author

dgarske commented Aug 9, 2023

Approved. Thanks @julek-wolfssl . Over to @JacobBarthelmeh to finalize.

@JacobBarthelmeh JacobBarthelmeh dismissed julek-wolfssl’s stale review August 9, 2023 18:07

old review before multiple changes the next day

@JacobBarthelmeh JacobBarthelmeh merged commit 12685d7 into wolfSSL:master Aug 9, 2023
@dgarske dgarske deleted the fix_cond branch August 28, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants