Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef NETCACHE__SCHEDULER__HPP
2 #define NETCACHE__SCHEDULER__HPP
34 namespace intr = boost::intrusive;
Task controlling a socket.
Main working entity in TaskServer.
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
bool ReConfig_Scheduler(const CTempString §ion, const CNcbiRegistry &new_reg, string &err_message)
void MarkTaskTerminated(CSrvTask *task, bool immediate=true)
void SchedStartJiffy(SSrvThread *thr)
void ConfigureScheduler(const CNcbiRegistry *reg, CTempString section)
Uint4 GetDefaultTaskPriority(void)
void ReleaseThreadSched(SSrvThread *thr)
void AssignThreadSched(SSrvThread *thr)
void WriteSetup_Scheduler(CSrvSocketTask &task)
bool SchedIsAllIdle(void)
void SchedCheckOverloads(void)
void SchedExecuteTask(SSrvThread *thr)
CRef< CTestThread > thr[k_NumThreadsMax]