You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/apps/openmw
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`.
3 years ago
..
mwbase Merge branch 'master' into 'effective_magic' 3 years ago
mwclass improves MWClass mapping (#3166) 3 years ago
mwdialogue improves MWClass mapping (#3166) 3 years ago
mwgui Merge branch 'openmw-tradeglitch' into master 3 years ago
mwinput gamepad cursor speed fix 3 years ago
mwlua mostly reverts MWLua changes (#3170) 3 years ago
mwmechanics Add missing initialization for Enchanting::mObjectType 3 years ago
mwphysics removes UnrefQueue (#3181) 3 years ago
mwrender removes UnrefQueue (#3181) 3 years ago
mwscript improves MWClass mapping (#3166) 3 years ago
mwsound Stop trying to play non-existent music files started by scripts 3 years ago
mwstate Do not use union to access FIXED_STRING<4> as int 3 years ago
mwworld removes UnrefQueue (#3181) 3 years ago
CMakeLists.txt Merge branch 'options_tests' into 'master' 3 years ago
android_main.cpp android: Switch to C++ 5 years ago
doc.hpp Fixed more spelling mistakes 8 years ago
engine.cpp Fix deadlock in Lua worker thread (#6286) 3 years ago
engine.hpp Manage work item lifetime on the client side 3 years ago
main.cpp Add tests for openmw options 3 years ago
options.cpp Add tests for openmw options 3 years ago
options.hpp Add tests for openmw options 3 years ago