Henrik Rydgård
|
ac9cc26a6d
|
Simplifiy WaitableCounter. Fixes it on Mac/ARM.
Not completely sure why it didn't work before...
|
2021-06-12 23:08:07 +02:00 |
|
Henrik Rydgård
|
50d9d7ea6f
|
Unittest buildfixes on mac
|
2021-06-12 22:42:10 +02:00 |
|
Henrik Rydgård
|
5b64a41a97
|
ParallelLoop: A bit smarter straggler handling.
|
2021-06-12 22:04:55 +02:00 |
|
Henrik Rydgård
|
3be5c7bd9a
|
Make the minimum items per thread explicit. Found some bugs, optional arguments are evil.
|
2021-06-12 21:21:28 +02:00 |
|
Henrik Rydgård
|
0fa27ff9d7
|
Autodetect number of threads (remove setting). Fix some bugs.
|
2021-06-12 21:06:59 +02:00 |
|
Henrik Rydgård
|
dc94cb8b04
|
Fix memory leak
|
2021-06-12 13:03:54 +02:00 |
|
Henrik Rydgård
|
a9e9929a72
|
Change the policy for number of threads
|
2021-06-12 13:03:54 +02:00 |
|
Henrik Rydgård
|
5fd15c06a3
|
Code cleanup
|
2021-06-12 13:03:54 +02:00 |
|
Henrik Rydgård
|
0f6a90098b
|
Remove experimental unused stuff.
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
06663c478d
|
Rename setCurrentThreadName to SetCurrentThreadName
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
78f068d7ea
|
Fix a way the threadmanager could get stuck.
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
446c2c027e
|
Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager.
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
34f8fc557f
|
GameInfoCache: Don't expose the workqueue. Was unused anyway.
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
73871b9b7e
|
Implement new thread manager, port stuff to it.
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
f4a6d291e1
|
Common: Capitalize setCurrentThreadName().
|
2021-04-30 23:02:36 -07:00 |
|
Henrik Rydgård
|
e6aa841b78
|
Common: Get rid of Executor.cpp/h.
There was only one implementation.
|
2021-04-30 22:33:34 -07:00 |
|
Unknown W. Brackets
|
4f96169357
|
Core: Init memory on multiple threads.
Also init volatile at the same time for consistency.
|
2021-04-16 00:53:50 -07:00 |
|
Unknown W. Brackets
|
b2f3f06768
|
Common: Set a min size on threadpool work chunks.
This should avoid slicing loops, etc. into too many chunks. Generalize
the memcpy a bit.
|
2021-04-15 23:59:02 -07:00 |
|
Unknown W. Brackets
|
639dd67130
|
Common: Allow threadpool size up to 16.
In Config, we allow 16, so this just matches that.
|
2021-04-15 23:56:34 -07:00 |
|
Henrik Rydgård
|
15382d5f94
|
Move threading utils from native to Common
|
2020-10-01 09:27:25 +02:00 |
|