Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ increment
Function
increment
tests/stress/util.py:33–36 ·
view source on GitHub ↗
Increment a multiprocessing.Value object.
(counter)
Source
from the content-addressed store, hash-verified
31
32
33
def
increment(counter):
34
""
"Increment a multiprocessing.Value object."
""
35
with
counter.get_lock():
36
counter.value += 1
37
38
39
def
print_stacks(*_):
Callers
5
_wait_until_reserved
Method · 0.90
_wait_until_fetchable
Method · 0.90
update_from_query_report
Method · 0.90
increment_metric
Method · 0.90
_start_single_runner
Method · 0.90
Calls
1
get_lock
Method · 0.45
Tested by
no test coverage detected