| 55 | bool IsInitialized() { return initialized_; } |
| 56 | |
| 57 | void Deinitialize() { |
| 58 | initialized_ = false; |
| 59 | DisableSignalStopSource(); |
| 60 | } |
| 61 | |
| 62 | // Check if the current thread is the main R thread |
| 63 | bool IsMainThread() { return initialized_ && std::this_thread::get_id() == thread_id_; } |
no outgoing calls
no test coverage detected