A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/server__core_8cpp.html below:

NCBI C++ ToolKit: src/app/netcache/server_core.cpp File Reference

Go to the source code of this file.

Go to the SVN repository for this file.

◆ ExtractFileName() void ExtractFileName ( const char *  file, const char *&  file_name, size_t &  name_size  ) ◆ GetConfName() ◆ s_ConfigureTaskServer() ◆ s_InitSignals() static void s_InitSignals ( void  ) static ◆ s_IsReadyForShutdown() ◆ s_LoadConfFile()

Definition at line 158 of file server_core.cpp.

References Critical(), CMetaRegistry::eName_AsIs, CMetaRegistry::eName_Ini, GetConfName(), in(), CMetaRegistry::Load(), IRWRegistry::Read(), CMetaRegistry::SEntry::registry, s_AppBaseName, s_ConfName, and SRV_LOG.

Referenced by CTaskServer::ReadConfiguration(), and s_ReadConfiguration().

◆ s_ProcessParameters()

Definition at line 280 of file server_core.cpp.

References CDirEntry::ConcatPath(), Critical(), ExtractFileName(), file_name, CDir::GetCwd(), i, CDirEntry::IsAbsolutePath(), memmove, CDirEntry::NormalizePath(), s_AppBaseName, s_ConfName, SaveAppCmdLine(), SetLogFileName(), and SRV_LOG.

Referenced by CTaskServer::Initialize().

◆ s_ReadConfiguration()

Definition at line 197 of file server_core.cpp.

References ConfigureLogging(), ConfigureScheduler(), ConfigureSockets(), ConfigureThreads(), ConfigureTimeMan(), Critical(), kSection, s_ConfigureTaskServer(), s_LoadConfFile(), s_Registry, and SRV_LOG.

Referenced by CTaskServer::Initialize().

◆ s_TermHandler() ◆ TrackShuttingDown() void TrackShuttingDown ( void  )

Definition at line 105 of file server_core.cpp.

References CSrvTime::Current(), Error(), eSrvRunning, eSrvShuttingDownHard, eSrvShuttingDownSoft, eSrvStopping, FireAllTimers(), RequestStopListening(), s_AbortShutdownTO, s_IsReadyForShutdown(), s_LastJiffyTime, s_SeenSDState, s_ShutdownStartTime, s_ShutdownTO, s_SrvState, SchedIsAllIdle(), CSrvTime::Sec(), SRV_FATAL, SRV_LOG, and Warning().

Referenced by s_ServiceThreadMain().

◆ kSection const char kSection[] = "task_server" static ◆ s_AbortShutdownTO int s_AbortShutdownTO = 0 static ◆ s_AppBaseName ◆ s_ConfName ◆ s_FastShutdownTO ◆ s_Registry ◆ s_SDListLock ◆ s_SeenSDState ◆ s_ShutdownList ◆ s_ShutdownStartTime ◆ s_ShutdownTO ◆ s_SlowShutdownTO int s_SlowShutdownTO = 10 static ◆ s_SrvState

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4