| 361 | } |
| 362 | |
| 363 | int 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 | |
| 379 | int SynchroniBoard::release_session () |
| 380 | { |
nothing calls this directly
no outgoing calls
no test coverage detected