MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / stop_stream

Method stop_stream

src/board_controller/dyn_lib_board.cpp:108–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108int DynLibBoard::stop_stream ()
109{
110 if (is_streaming)
111 {
112 keep_alive = false;
113 is_streaming = false;
114 streaming_thread.join ();
115 state = (int)BrainFlowExitCodes::SYNC_TIMEOUT_ERROR;
116 return call_stop ();
117 }
118 else
119 {
120 return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
121 }
122}
123
124int DynLibBoard::release_session ()
125{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected