Fixed Windows builds. Wtf..?
This commit is contained in:
parent
7d6e133858
commit
6e21e70fae
2 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ unsigned int Controller::maxConnsPerIP = 0;
|
||||||
/// Session cache shared memory page
|
/// Session cache shared memory page
|
||||||
IPC::sharedPage shmSessions(SHM_SESSIONS, SHM_SESSIONS_SIZE, true);
|
IPC::sharedPage shmSessions(SHM_SESSIONS, SHM_SESSIONS_SIZE, true);
|
||||||
/// Lock for the session cache shared memory page
|
/// Lock for the session cache shared memory page
|
||||||
IPC::semaphore cacheLock(SEM_SESSCACHE, O_CREAT | O_RDWR, ACCESSPERMS, 1);
|
IPC::semaphore Controller::cacheLock(SEM_SESSCACHE, O_CREAT | O_RDWR, ACCESSPERMS, 1);
|
||||||
|
|
||||||
//For server-wide totals. Local to this file only.
|
//For server-wide totals. Local to this file only.
|
||||||
struct streamTotals {
|
struct streamTotals {
|
||||||
|
|
|
@ -17,6 +17,7 @@ namespace Controller {
|
||||||
|
|
||||||
extern bool killOnExit;
|
extern bool killOnExit;
|
||||||
extern unsigned int maxConnsPerIP;
|
extern unsigned int maxConnsPerIP;
|
||||||
|
extern Controller::semaphore cacheLock;
|
||||||
|
|
||||||
//These keep track of which streams are currently active.
|
//These keep track of which streams are currently active.
|
||||||
extern std::map<std::string, unsigned int> activeStreams;
|
extern std::map<std::string, unsigned int> activeStreams;
|
||||||
|
|
Loading…
Add table
Reference in a new issue