feisty meow concerns codebase  2.140
octopus.cpp File Reference
Include dependency graph for octopus.cpp:

Go to the source code of this file.

Namespaces

 octopi
 

Macros

#define GRAB_LOCK    auto_synchronizer l(*_molock)
 
#define WHACK_RETURN(to_ret, to_whack)
 
#define LOG(t)   CLASS_EMERGENCY_LOG(program_wide_logger::get(), t)
 

Variables

const int octopi::MAXIMUM_TRASH_SIZE = 128 * KILOBYTE
 
const int octopi::OCTOPUS_CHECKING_INTERVAL = 4 * MINUTE_ms
 

Macro Definition Documentation

◆ GRAB_LOCK

#define GRAB_LOCK    auto_synchronizer l(*_molock)

Definition at line 50 of file octopus.cpp.

◆ LOG

#define LOG (   t)    CLASS_EMERGENCY_LOG(program_wide_logger::get(), t)

Definition at line 69 of file octopus.cpp.

◆ WHACK_RETURN

#define WHACK_RETURN (   to_ret,
  to_whack 
)
Value:
{ \
unhandled_request *bad_response = new unhandled_request(id, \
request->classifier(), to_ret); \
_responses->add_item(bad_response, id); \
WHACK(to_whack); \
return to_ret; \
}

Definition at line 57 of file octopus.cpp.