summaryrefslogtreecommitdiffstats
path: root/server/reds-stream.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-02-06 11:53:36 -0600
committerFabiano FidĂȘncio <fidencio@redhat.com>2015-02-23 23:00:46 +0100
commit1c7cf80e55776fd1e4b60d972c309390660587dc (patch)
tree0b9ed7f0249ed4b3f0726c1a4232f035ff376abd /server/reds-stream.h
parente1dc7ed57855695fd7750e0725f80973f075a1ce (diff)
downloadspice-1c7cf80e55776fd1e4b60d972c309390660587dc.tar.gz
spice-1c7cf80e55776fd1e4b60d972c309390660587dc.tar.xz
spice-1c7cf80e55776fd1e4b60d972c309390660587dc.zip
Remove global 'dispatchers', 'num_active_workers' variables
Since these are server-level variables, move them into RedsState. However, num_active_workers was removed because: - each dispatcher always has 1 active worker, so we can determine the number of active workers by counting the dispatchers - it was never actually set correctly. Even if there was more than one worker, this variable was always only set to either 0 or 1. This change required moving a bunch of helper code into RedsState as well, an providing some RedDispatcher interfaces to access dispatcher information from RedsState.
Diffstat (limited to 'server/reds-stream.h')
0 files changed, 0 insertions, 0 deletions