NCBI C++ ToolKit
task_server_pch.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: task_server_pch.hpp 87312 2019-08-16 22:25:29Z vasilche $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  * Authors: Pavel Ivanov
27  *
28  * File Description:
29  * File serving as precompiled header on Windows and that should be included
30  * first in all task_server sources. This file ensures the correct order of
31  * inclusion of core task_server headers and some corelib headers to avoid
32  * any conflicts and provide correct symbol definitions. Also it defines
33  * guards against inclusion of certain headers which should never be
34  * included in any source of task_server or application linking with it.
35  */
36 
37 
38 #define CORELIB___NCBIDIAG__HPP
39 #define CORELIB___NCBIDBG__HPP
40 #define NCBIDBG_P__HPP
41 #define CORELIB___NCBIAPP_API__HPP
42 #define CORELIB___NCBIAPP__HPP
43 #define CORELIB___NCBITHR__HPP
44 #define CORELIB___NCBIMEMPOOL__HPP
45 #define CORELIB___NCBI_OS_MSWIN_P__HPP
46 #define CORELIB___NCBI_STACK__HPP
47 #include <common/ncbi_source_ver.h>
48 #include <corelib/ncbistl.hpp>
49 #include <corelib/ncbitype.h>
50 #include <corelib/ncbistre.hpp>
51 
52 #include <string>
53 #include <vector>
54 #include <map>
55 #include <list>
56 #include <memory>
57 
58 #ifdef NCBI_OS_MSWIN
59 # include <windows.h>
60 # include <tlhelp32.h>
61 #endif
62 
63 #include "srv_diag.hpp"
64 #include "srv_lib.hpp"
65 
66 // These should go after srv_lib.hpp
67 #ifdef _DEBUG
68 # undef _DEBUG
69 # include <corelib/ncbiobj.hpp>
70 # define _DEBUG
71 #else
72 # include <corelib/ncbiobj.hpp>
73 #endif
74 #include <corelib/ncbi_process.hpp>
75 #undef NCBI_THREAD_PID_WORKAROUND
76 
77 
78 #define BOOST_ENABLE_ASSERT_HANDLER
79 #include <boost/intrusive/slist.hpp>
80 #include <boost/intrusive/list.hpp>
81 #include <boost/intrusive/set.hpp>
82 
83 
84 #include "task_server.hpp"
85 #include "srv_sync.hpp"
86 #include "srv_time.hpp"
87 #include "srv_tasks.hpp"
88 #include "srv_sockets.hpp"
89 #include "srv_inlines.hpp"
90 #include "scheduler.hpp"
Defines process management classes.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
The NCBI C++/STL use hints.
NCBI C++ stream class wrappers for triggering between "new" and "old" C++ stream libraries.
Defines Limits for the types used in NCBI C/C++ toolkit.
Modified on Fri Sep 20 14:57:58 2024 by modify_doxy.py rev. 669887