1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-10 00:34:31 +00:00
openmw/apps
Bo Svensson a854a6e04a
removes UnrefQueue (#3181)
Currently, we use an `UnrefQueue` which supposedly aims to transfer destruction costs to another thread. The implications of this unusual pattern can not be well understood because some allocators might free resources more efficiently if they are freed by the same thread that allocated them. In addition, `UnrefQueue` complicates the validation of thread safety in our engine. Lastly, our current usage of `UnrefQueue` triggers `ref()`, `unref()` atomic operations as objects are passed into the queue. These operations could be more expensive than the actual destruction.

With this PR we thus remove `UnrefQueue`. We can expect these changes to have a minor impact at most because we free most resources elsewhere in `ResourceSystem::updateCache`.
2021-10-20 23:02:15 +02:00
..
benchmarks Store heightfields as array of heights instead of triangles 2021-07-26 00:22:21 +02:00
bsatool cleans up BSAFile (#3177) 2021-10-14 14:46:44 +02:00
esmtool Do not use union to access FIXED_STRING<4> as int 2021-10-17 17:16:21 +02:00
essimporter Do not use union to access FIXED_STRING<4> as int 2021-10-17 17:16:21 +02:00
launcher Do not use union to access FIXED_STRING<4> as int 2021-10-17 17:16:21 +02:00
mwiniimporter Using auto keyword in most apps 2021-05-18 19:20:59 -05:00
niftest Use recurse subdirectory iterator to iterate over the VFS without exposing internal details 2021-09-14 18:09:54 +02:00
opencs Do not use union to access FIXED_STRING<4> as int 2021-10-17 17:16:21 +02:00
openmw removes UnrefQueue (#3181) 2021-10-20 23:02:15 +02:00
openmw_test_suite Add functions to compress/decompress vector of bytes 2021-10-18 20:46:22 +02:00
wizard Remove 'no relevant classes' moc warning 2021-09-14 11:20:18 +02:00
doc.hpp first set of additional doxygen comments 2010-09-25 15:03:53 +02:00