| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Allows more explicit inheritance relationship, and numerous other
advantages.
|
| |
|
|
|
|
|
|
| |
Remove use of global 'reds' variable from RedDispatcher functions.
Instead store the owning RedsState variable inside the RedDispatcher
struct and use that when necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Removing more global variables
|
|
|
|
|
| |
Also requires adding reds_get_streaming_video() accessor so that other
files can check this value.
|
| |
|
|
|
|
|
|
| |
In preparation for getting rid of the global 'reds' variable, we need to
pass the RedsState variable to all functions where it is needed. For now
the callers just pass in the global reds variable.
|
| |
|
| |
|
|
|