mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
gh-110850: Replace _PyTime_t with PyTime_t (#115719)
Run command: sed -i -e 's!\<_PyTime_t\>!PyTime_t!g' $(find -name "*.c" -o -name "*.h")
This commit is contained in:
parent
0749244d13
commit
9af80ec83d
31 changed files with 341 additions and 341 deletions
|
@ -2072,7 +2072,7 @@ stop_the_world(struct _stoptheworld_state *stw)
|
|||
break;
|
||||
}
|
||||
|
||||
_PyTime_t wait_ns = 1000*1000; // 1ms (arbitrary, may need tuning)
|
||||
PyTime_t wait_ns = 1000*1000; // 1ms (arbitrary, may need tuning)
|
||||
if (PyEvent_WaitTimed(&stw->stop_event, wait_ns)) {
|
||||
assert(stw->thread_countdown == 0);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue