File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3839,7 +3839,7 @@ apply_slot_updates(slot_update_t *updates)
38393839}
38403840
38413841static void
3842- apply_slot_updates_world_stopped (slot_update_t * updates )
3842+ apply_type_slot_updates (slot_update_t * updates )
38433843{
38443844 // This must be done carefully to avoid data races and deadlocks. We
38453845 // have just updated the type __dict__, while holding TYPE_LOCK. We have
@@ -6402,7 +6402,7 @@ update_slot_after_setattr(PyTypeObject *type, PyObject *name)
64026402 return -1 ;
64036403 }
64046404 if (queued_updates .head -> n > 0 ) {
6405- apply_slot_updates_world_stopped (& queued_updates );
6405+ apply_type_slot_updates (& queued_updates );
64066406 ASSERT_TYPE_LOCK_HELD ();
64076407 // should never allocate another chunk
64086408 assert (chunk .prev == NULL );
@@ -11718,7 +11718,7 @@ update_all_slots(PyTypeObject* type)
1171811718 }
1171911719 }
1172011720 if (queued_updates .head != NULL ) {
11721- apply_slot_updates_world_stopped (& queued_updates );
11721+ apply_type_slot_updates (& queued_updates );
1172211722 ASSERT_TYPE_LOCK_HELD ();
1172311723 slot_update_free_chunks (& queued_updates );
1172411724 }
You can’t perform that action at this time.
0 commit comments