1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 03:32:36 +00:00
elsid 5261f0c5cf
Modify PhysicsTaskScheduler::mCollisionObjects under lock
addCollisionObject is called from the main thread and removeCollisionObject is
usually called from the main thread and rarely from one of the physics worker
threads. This usually happens on cell unloading when object is already removed
from the scene but there is active simulation for it. Which possible because
it's a shared pointer.

There is getUserPointer function which only reads from the container but it's
called only when there is no active simulation so no lock is required.
2024-04-26 16:17:40 +02:00
..
2022-09-22 21:35:26 +03:00
2024-02-07 22:04:34 +01:00
2024-02-12 07:52:47 -08:00
2024-02-12 07:52:47 -08:00
2024-02-12 07:52:47 -08:00
2022-09-22 21:35:26 +03:00
2022-09-22 21:35:26 +03:00
2022-09-22 21:35:26 +03:00
2022-09-22 21:35:26 +03:00