Silent
|
4da4e6a97a
|
Start as many worker threads as actually used (used to start more)
|
2019-08-11 14:03:54 +02:00 |
|
Silent
|
1a992bf023
|
Store std::thread in worker thread class by value and explicitly start it up, and don't use shared_ptr in thread pools
|
2019-08-11 14:03:53 +02:00 |
|
Silent
|
34109afb2d
|
Cleanup mutex usage in worker threads
|
2019-08-11 14:03:53 +02:00 |
|
Silent
|
400a6f3057
|
Remove 'started' bool from worker threads, as fixes for spurious wakeups made it obsolete
|
2019-08-11 14:03:53 +02:00 |
|
Silent
|
0639ffcfb5
|
Handle spurious wakeups on worker thread condition variables properly
|
2019-08-11 14:03:53 +02:00 |
|
Silent
|
6ac41a5767
|
Use move semantics for worker thread functors
|
2019-08-11 14:03:52 +02:00 |
|
Silent
|
1add9324a4
|
Clean up ThreadPool and WorkerThread constructors with C++11 features,
removes variable instantiation from constructor initializer lists
|
2019-08-11 14:03:52 +02:00 |
|
Henrik Rydgard
|
a0688d4161
|
Patch up the threadpool used for texture scaling to work. Really needs a rethink. Fixes #9372
|
2017-03-02 10:49:47 +01:00 |
|
Henrik Rydgard
|
26a2d42731
|
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
|
2017-02-28 11:40:29 +01:00 |
|
Unknown W. Brackets
|
f279c2a3c2
|
Merge remote repo native into ext/native/.
|
2015-09-06 12:24:17 -07:00 |
|