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

Sock loop wakeup #1591

Merged
merged 24 commits into from
Dec 9, 2023
Merged

Sock loop wakeup #1591

merged 24 commits into from
Dec 9, 2023

Conversation

huitema
Copy link
Collaborator

@huitema huitema commented Dec 6, 2023

Trial only -- work in progress.

@huitema
Copy link
Collaborator Author

huitema commented Dec 9, 2023

Merging now. The purpose of the exercise was to explore options for supporting threads across Windows and Unix. The "thread tester" test code does that, showing how to set up threads, how to wake-up threads using signals on Windows, or pipes on Unix, and how to properly wind down threads. There are multiple follow-on:

  • Use a threaded test program to do "end to end" testing of the stack and the socket loop using local sockets.
  • Maybe do the same for an end-to-end test of the picoquicdemo app.
  • Upgrade the socket loop to allow wakeup. Maybe requires unifying the windows and unix version of the socket loop.
  • Write a sample of a web-socket style application using the improved socket loop.

Those will have to be pursued in separate PRs.

@huitema huitema merged commit deb0ac6 into master Dec 9, 2023
9 checks passed
@huitema huitema deleted the sock-loop-wakeup branch December 9, 2023 01:09
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.

1 participant