25 Commits

Author SHA1 Message Date
Filippos Karapetis 5b1e2d502c COMMON: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Bastien Bouclet 955e18c648 COMMON: Use nullptr instead of NULL or 0 where appropriate 2018-05-10 08:35:46 +02:00
Eugene Sandulenko 940b2a20f1 Revert "COMMON: Change way the Singleton instances are instantiated"
This reverts commit eefa72afa1.

With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat eefa72afa1 COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Johannes Schickel 854e22b38b COMMON: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alyssa Milburn 31801137b5 Merge remote-tracking branch 'origin/master' into tony
Conflicts:
	common/coroutines.cpp
	common/coroutines.h
	devtools/create_project/msbuild.cpp
	devtools/create_project/visualstudio.cpp
2012-08-28 15:54:12 +02:00
Alyssa Milburn f4b83283f3 COMMON: Fix waiting for multiple coroutine events.
This fixes the bWaitAll case of waitForMultipleObjects, and also the
resetting of events later in the function.
2012-08-25 14:05:04 +02:00
Paul Gilbert 269ea2f6be COMMON: Change pulseEvent to better reflect how it works in Windows 2012-06-17 17:29:20 +10:00
Paul Gilbert 26bb3d6732 COMMON: Changed pulseEvent to allow calling processes to finish executing first 2012-06-09 17:14:21 +10:00
Johannes Schickel 27aa097449 COMMON: Slightly adapt coroutine code to better match our guidelines.
I used astyle here, which automatically removes the use of tabs in comments.
2012-06-07 18:06:59 +02:00
Johannes Schickel b17b38cc36 COMMON: Move coroutine documentation to the header file. 2012-06-07 18:06:13 +02:00
Paul Gilbert 5ba886ce8b COMMON: Fixed CORO_ADDR parameter names in Doxygen comments 2012-05-29 21:43:23 +10:00
Paul Gilbert a2b51174aa COMMON: Cleaned up coroutine comments 2012-05-25 23:36:18 +10:00
Paul Gilbert 839527a955 COMMON: Fix method error messages 2012-05-25 23:13:55 +10:00
Paul Gilbert 4719fd9900 COMMON: Fix comparison operation on coroutine wait methods 2012-05-25 23:06:24 +10:00
Paul Gilbert b63c28c1a0 COMMON: Fix comparison operation on coroutine wait methods 2012-05-20 09:22:14 +10:00
Paul Gilbert bd5b65f007 COMMON: Fix compilation of coroutines code when COROUTINE_DEBUG is defined 2012-05-17 20:47:02 +10:00
Paul Gilbert 8153d7868b COMMON: Improved waiting processes to store what PIDs they're waiting for
This is then used in PulseEvent to only execute processes that are specifically waiting on the given PID, rather than all waiting events.
2012-05-17 20:45:31 +10:00
Paul Gilbert c6810c174e COMMON: Moved the Tinsel Coroutine code into it's own Common class 2012-05-17 20:39:55 +10:00
Paul Gilbert 8511b9b0cd COMMON: Fix compilation of coroutines code when COROUTINE_DEBUG is defined 2012-05-13 18:19:40 +10:00
Paul Gilbert 045f93f0fe COMMON: Improved waiting processes to store what PIDs they're waiting for
This is then used in PulseEvent to only execute processes that are specifically waiting on the given PID, rather than all waiting events.
2012-05-13 00:19:04 +10:00
Paul Gilbert 50153aba88 COMMON: Merged the Tinsel & Tony Coroutine schedulers into Common 2012-05-11 23:08:27 +10:00