1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +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
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
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