Lasse Öörni
|
baefa6fb4e
Corrected the constness of WorkQueue::IsCompleted().
|
14 years ago |
Lasse Öörni
|
787f1d5de0
Code cleanup.
|
14 years ago |
Lasse Öörni
|
39bbcd1b81
Reverted to the previous worker thread sleeping behaviour as on other systems no performance gain was observed.
|
14 years ago |
Lasse Öörni
|
f50422a04b
Repositioned the sleep in the worker thread for improved performance in starting work.
|
14 years ago |
Lasse Öörni
|
6a502fad89
Cleaned up WorkQueue code. Removed WorkerThread.cpp & .h.
|
14 years ago |
Lasse Öörni
|
f2b5b45f59
Added Pause() & Resume() functions to WorkQueue.
|
14 years ago |
Lasse Öörni
|
0bc0b668ab
For some performance gain, use only a mutex to synchronize the work queue, instead of an event.
|
14 years ago |
Lasse Öörni
|
4bdc1cf2c1
Create worker threads in Engine.
|
14 years ago |
Lasse Öörni
|
80656971de
Removed SpinLock class.
|
14 years ago |
Lasse Öörni
|
d29885dd9f
Clamp max. amount of worker threads.
|
14 years ago |
Lasse Öörni
|
9e7295d666
Threaded batch sorting.
|
14 years ago |
Lasse Öörni
|
aadc22f05a
Changed WorkItem to a value type to make it easier to construct work queue tasks.
|
14 years ago |
Lasse Öörni
|
f843523ee8
Removed the start/stop mechanism from WorkQueue.
|
14 years ago |
Lasse Öörni
|
f5bb9e5487
Work queue & octree reinsertion optimizations.
|
14 years ago |
Lasse Öörni
|
c8089b1687
Initial work queue & multithreading support.
|
14 years ago |