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

No socket write when run in thread #40

Closed
curlyz opened this issue Aug 1, 2018 · 1 comment
Closed

No socket write when run in thread #40

curlyz opened this issue Aug 1, 2018 · 1 comment

Comments

@curlyz
Copy link

curlyz commented Aug 1, 2018

Hi , is it weird that when the Start() run in main thread , everything work , but if I do
start_new_thread(Start , ())
, there seem to be no socket._write() occur ! .
Is there anyway to make it async ?

@jczic
Copy link
Owner

jczic commented Aug 3, 2018

Hello @curlyz,
Why do you use start_new_thread for MicroWebSrv ?
It's already threaded if you want.
Or I don't understand ?

@jczic jczic closed this as completed Aug 17, 2018
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