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

Method signal_from_thread

python/pyarrow/tests/test_csv.py:1569–1572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1567 pytest.skip("test only works from main Python thread")
1568
1569 def signal_from_thread():
1570 # Give our workload a chance to start up
1571 time.sleep(0.2)
1572 signal.raise_signal(signal.SIGINT)
1573
1574 # We start with a small CSV reading workload and increase its size
1575 # until it's large enough to get an interruption during it, even in

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected