1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 06:06:44 +00:00
openmw-tes3mp/apps/openmw/mwphysics
elsid 7f1e5b368e
Fix deadlock in physics system
* Reorder unlock and notify_all calls to avoid notifying when not all worker
  threads are waiting.
* Make sure main thread does not attempt to exclusively lock mSimulationMutex
  while not all workers are done with previous frame.
* Replace mNewFrame flag by counter to avoid modification from multiple
  threads.
2021-11-26 20:23:49 +01:00
..
actor.cpp Set mCanWaterWalk and mOnGround when adding Actor to the scene. 2021-07-24 15:04:17 +02:00
actor.hpp Set mCanWaterWalk and mOnGround when adding Actor to the scene. 2021-07-24 15:04:17 +02:00
actorconvexcallback.cpp Remove some useless includes in apps/openmw/mwphysics 2021-05-15 23:13:46 +02:00
actorconvexcallback.hpp Use convexSweepTest for projectile movement to solve any 2021-01-21 20:36:33 +01:00
closestnotmerayresultcallback.cpp Use convexSweepTest for projectile movement to solve any 2021-01-21 20:36:33 +01:00
closestnotmerayresultcallback.hpp Use convexSweepTest for projectile movement to solve any 2021-01-21 20:36:33 +01:00
collisiontype.hpp Use a separate collision type for doors (Fixes #1962) 2015-12-18 18:32:42 +01:00
constants.hpp Fix double -> float conversions 2021-04-19 15:36:58 +04:00
contacttestresultcallback.cpp Do not block a door when it turns away. 2020-11-01 23:01:18 +01:00
contacttestresultcallback.hpp Remove some useless includes in apps/openmw/mwphysics 2021-05-15 23:13:46 +02:00
contacttestwrapper.cpp values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 2020-12-27 22:16:11 +00:00
contacttestwrapper.h values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 2020-12-27 22:16:11 +00:00
deepestnotmecontacttestresultcallback.cpp Visualize hand to hand hits 2020-10-26 13:48:15 +01:00
deepestnotmecontacttestresultcallback.hpp Visualize hand to hand hits 2020-10-26 13:48:15 +01:00
hasspherecollisioncallback.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
heightfield.cpp Store copies of ref_ptr for btCollisionShape wrappers in Navigator 2021-08-04 13:16:31 +02:00
heightfield.hpp Store copies of ref_ptr for btCollisionShape wrappers in Navigator 2021-08-04 13:16:31 +02:00
movementsolver.cpp Tone down actor's skip simulation flag to an optional skip collision 2021-05-01 14:22:30 +02:00
movementsolver.hpp Remove some useless includes in apps/openmw/mwphysics 2021-05-15 23:13:46 +02:00
mtphysics.cpp Fix deadlock in physics system 2021-11-26 20:23:49 +01:00
mtphysics.hpp Fix deadlock in physics system 2021-11-26 20:23:49 +01:00
object.cpp Do not store btTransform into Object class: reduce its size by 104 bytes 2021-07-23 19:40:42 +02:00
object.hpp Do not store btTransform into Object class: reduce its size by 104 bytes 2021-07-23 19:40:42 +02:00
physicssystem.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
physicssystem.hpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
projectile.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
projectile.hpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
projectileconvexcallback.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
projectileconvexcallback.hpp Remove some useless includes in apps/openmw/mwphysics 2021-05-15 23:13:46 +02:00
ptrholder.hpp Don't cache Ptr, it can be updated while the simulation is running. 2020-12-18 22:22:37 +01:00
raycasting.hpp Use convexSweepTest for projectile movement to solve any 2021-01-21 20:36:33 +01:00
stepper.cpp Remove some useless includes in apps/openmw/mwphysics 2021-05-15 23:13:46 +02:00
stepper.hpp values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 2020-12-27 22:16:11 +00:00
trace.cpp Use convexSweepTest for projectile movement to solve any 2021-01-21 20:36:33 +01:00
trace.h Use tracer hit height to skip stepping up in movement solver. 2016-12-24 23:07:44 +01:00