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

Method stop_stream

src/board_controller/synchroni/synchroni_board.cpp:363–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363int SynchroniBoard::stop_stream ()
364{
365 if (is_streaming)
366 {
367 keep_alive = false;
368 is_streaming = false;
369 streaming_thread.join ();
370 state = (int)BrainFlowExitCodes::SYNC_TIMEOUT_ERROR;
371 return call_stop ();
372 }
373 else
374 {
375 return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
376 }
377}
378
379int SynchroniBoard::release_session ()
380{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected