| 106 | } |
| 107 | |
| 108 | int 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 | |
| 124 | int DynLibBoard::release_session () |
| 125 | { |
nothing calls this directly
no outgoing calls
no test coverage detected