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
void MarketDataThread::Stop()
{
// ???? HOW can I Do?
}
After I dynamically start the subscription in the thread, how do I stop the running of the uWS::Hub object in the stop? There is a uWS::Hub object in each thread. How do I implement it? thanks。
This discussion was converted from issue #1649 on September 01, 2023 16:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Code:
void MarketDataThread::Start(std::string channel, std::string symbol)
{
uWS::Hub hub;
}
void MarketDataThread::Stop()
{
// ???? HOW can I Do?
}
After I dynamically start the subscription in the thread, how do I stop the running of the uWS::Hub object in the stop? There is a uWS::Hub object in each thread. How do I implement it? thanks。
Beta Was this translation helpful? Give feedback.
All reactions