2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FBaseRt_ThreadManager.h
19 * @brief This is the header file for the %_ThreadManager class.
21 * This file contains the declarations of the %_ThreadManager class.
24 #ifndef _FBASE_RT_INTERNAL_THREAD_MANAGER_H_
25 #define _FBASE_RT_INTERNAL_THREAD_MANAGER_H_
30 #include <FBaseResult.h>
32 namespace Tizen { namespace Base { namespace Runtime
36 class _EventDispatcher;
43 ~_ThreadManager(void);
45 static result Initialize(void);
47 static result Finalize(void);
50 static Thread* __pMainThread;
52 friend class _ThreadImpl;
55 } } } // Tizen::Base::Runtime
57 #endif // _FBASE_RT_INTERNAL_THREAD_MANAGER_H_