Skip to content

uWS::Loop::defer() not firing. #1596

Answered by uNetworkingAB
jacobsologub asked this question in Q&A
Discussion options

You must be logged in to vote

You are getting a new loop for the queueing thread. You need to grab the loop of the target thread. Loop::get() is thread local

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by uNetworkingAB
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1595 on April 06, 2023 22:06.