Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ acquire
Function
acquire
python/pyarrow/src/arrow/python/common.h:114–119 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
112
~PyAcquireGIL() { release(); }
113
114
void acquire() {
115
if (!acquired_gil_) {
116
state_ = PyGILState_Ensure();
117
acquired_gil_ = true;
118
}
119
}
120
121
// idempotent
122
void release() {
Callers
1
common.h
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected