You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make this example code to make more sense
I'd suggest to implement worker() implementation to actually do something useful rather than hang on waiting for stop signal to read ;)