diff options
| author | RogueAI42 <[email protected]> | 2017-06-19 20:01:38 +1000 |
|---|---|---|
| committer | RogueAI42 <[email protected]> | 2017-06-19 20:01:38 +1000 |
| commit | 37e9af7ca62b5bac72a56b2b8e847e5c0a5a1a6b (patch) | |
| tree | fd602e3a8b16edbbae33c5ab295120272f0f8b46 /ShiftOS.Server/ShopBackend.cs | |
| parent | 1c9d527ba084dfca2548eb739536f7fbe7a2f086 (diff) | |
| download | shiftos_thereturn-37e9af7ca62b5bac72a56b2b8e847e5c0a5a1a6b.tar.gz shiftos_thereturn-37e9af7ca62b5bac72a56b2b8e847e5c0a5a1a6b.tar.bz2 shiftos_thereturn-37e9af7ca62b5bac72a56b2b8e847e5c0a5a1a6b.zip | |
made MindBlow wayyy faster
More threads. More responsive.
The IBFListener calls don't wait for the WinForms updates to finish
now. They put changes onto a few variables using a lock and then
activate a dormant thread to actually run those on the worker thread.
Once it's done, that dormant thread goes back to waiting for an
AutoResetEvent to fire that tells it when there's actually work to
do. So it shouldn't chew up any CPU. I found out about this object
working on this project and now I want to find everywhere in the game
that uses a while loop to wait for stuff, and replace it with this.
Diffstat (limited to 'ShiftOS.Server/ShopBackend.cs')
0 files changed, 0 insertions, 0 deletions
