MCPcopy Create free account
hub / github.com/apache/arrow / Initialize

Method Initialize

r/src/safe-call-into-r.h:49–53  ·  view source on GitHub ↗

Call this method from the R thread (e.g., on package load) to save an internal copy of the thread id.

Source from the content-addressed store, hash-verified

47 // Call this method from the R thread (e.g., on package load)
48 // to save an internal copy of the thread id.
49 void Initialize() {
50 thread_id_ = std::this_thread::get_id();
51 initialized_ = true;
52 ResetError();
53 }
54
55 bool IsInitialized() { return initialized_; }
56

Callers 1

InitializeMainRThreadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected