1
0
forked from 0ad/0ad
0ad/source
wraitii 75d0c56070 Don't crash when calling the profiler from a 'non-main' thread
Motive behind the change: calls to Profile() currently crash unless they
are triggered from the main thread, but it's somewhat difficult to know
that from the code. It makes more sense to silently ignore those
particularly so we can easily have the same code be threaded or not.

This also removes a few profiling calls that don't make much sense.

Differential Revision: https://code.wildfiregames.com/D1853
This was SVN commit r22248.
2019-05-04 15:03:10 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Refactor and cleanup of CGameView. 2019-04-22 22:12:08 +00:00
gui Remove workaround in GetGUIObjectByName 2019-04-20 15:49:42 +00:00
i18n Simple refactoring of Singleton. Make it non-copyable. 2019-01-13 15:11:40 +00:00
lib Improve the error window on Windows by adding a link to https://trac.wildfiregames.com/wiki/GameDataPaths. 2019-04-04 20:30:52 +00:00
lobby recieve -> receive 2019-04-07 16:06:10 +00:00
maths Fixes a misprint that was introduced in cb83d494e0. 2019-04-25 18:59:41 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Don't let the duplicateplayernames setting break lobbied games (0fd8aa2a77) 2019-01-28 12:09:42 +00:00
pch Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ps Don't crash when calling the profiler from a 'non-main' thread 2019-05-04 15:03:10 +00:00
renderer Removes unused variable. It was introduced in f0615df318, an interface to control 2019-04-02 18:49:12 +00:00
scriptinterface SpiderMonkey-related changes in preparation for the upgrade to SpiderMonkey 45, refs #4893. 2019-01-13 16:37:41 +00:00
simulation2 Don't crash when calling the profiler from a 'non-main' thread 2019-05-04 15:03:10 +00:00
soundmanager Seed unit sounds so that their pitch and their gain are always the same for the same unit. 2019-04-25 22:37:15 +00:00
third_party Use libsodium for cryptography. 2018-04-08 21:41:31 +00:00
tools Change Run Speed into a Run multiplier. 2019-04-19 10:04:50 +00:00
main.cpp Test all full hashes in non-visual replaymode by default and keep skipping quick-hash by default. 2018-05-29 02:14:38 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00