Init basesystem source codes.
[staging/basesystem.git] / nsframework / notification_persistent_service / server / include / ns_npp_threads.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 ////////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \defgroup <<Group Tag>> <<Group Name>>
19 /// \ingroup  tag_NS_NPPService
20 /// .
21 ////////////////////////////////////////////////////////////////////////////////////////////////////
22
23 ////////////////////////////////////////////////////////////////////////////////////////////////////
24 /// \ingroup  tag_NS_NPPService
25 /// \brief
26 ///
27 ///
28 ///
29 ////////////////////////////////////////////////////////////////////////////////////////////////////
30
31 #ifndef NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_THREADS_H_
32 #define NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_THREADS_H_
33
34 // name of threads
35 #define NS_NPP_READ_THREAD_NAME               "NS_NPPReadWkr"
36 #define NS_NPP_WRITE_THREAD_NAME            "NS_NPPWriteWkr"
37 #define NS_NPP_IMMEDIATE_PERSIST_THREAD_NAME    "NS_NPPIPWkr"
38 #define NS_NPP_DATA_RESET_THREAD_NAME           "NS_NPPDataRst"
39
40 // priority of threads
41 #define NS_NPP_READ_THREAD_PRIO         15
42 #define NS_NPP_WRITE_THREAD_PRIO        15
43 #define NS_NPP_IMMEDIATE_PERSIST_THREAD_PRIO  25
44 #define NS_NPP_DATA_RESET_THREAD_PRIO     10
45
46 #endif  // NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_THREADS_H_