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

在 send/recv 函数里写 sleep 是真的搞笑 #1788

Open
MumiaiGene opened this issue Feb 8, 2025 · 1 comment
Open

在 send/recv 函数里写 sleep 是真的搞笑 #1788

MumiaiGene opened this issue Feb 8, 2025 · 1 comment

Comments

@MumiaiGene
Copy link

tls_socket_wait();
写这行代码的时候动过脑子吗?

@goodspeed34
Copy link

https://thedailywtf.com/articles/The-Speedup-Loop

goodspeed34 added a commit to goodspeed34/GmSSL that referenced this issue Feb 15, 2025
It eliminates the (perhaps non-blocking version of) speedup loop by using a
generic `select` call which should be available both to POSIX and Winsock2.
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

No branches or pull requests

2 participants