Skip to content
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

refactor(cbindings): waku_thread.nim - Using 'ThreadSignalPtr' instead of loop to handle req/resp #2045

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

Ivansete-status
Copy link
Collaborator

@Ivansete-status Ivansete-status commented Sep 18, 2023

Description

Use of a better approach to synchronize threads. Use of ThreadSignalPtr instead of an intense loop.
This PR is motivated by the following comment: #1978 (comment)

@github-actions
Copy link

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:2045

Built from 48165c1

@Ivansete-status Ivansete-status self-assigned this Sep 18, 2023
@Ivansete-status Ivansete-status force-pushed the thread-safe-signals-instead-of-loop branch from 7b0ed28 to f7ab24e Compare September 18, 2023 17:02
@Ivansete-status Ivansete-status force-pushed the thread-safe-signals-instead-of-loop branch from f7ab24e to bb6a018 Compare September 18, 2023 17:06
@Ivansete-status Ivansete-status marked this pull request as ready for review September 18, 2023 17:13
Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter left a comment

Choose a reason for hiding this comment

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

Pretty nice stuff, thank you!

@Ivansete-status Ivansete-status merged commit 6cea737 into master Sep 22, 2023
9 checks passed
@Ivansete-status Ivansete-status deleted the thread-safe-signals-instead-of-loop branch September 22, 2023 14:36
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.

3 participants