Home
last modified time | relevance | path

Searched refs:Thread (Results 1 - 25 of 27) sorted by relevance

12

/foundation/ai/ai_engine/services/common/platform/threadpool/source/
H A Dthread.cpp41 Thread::Thread() in Thread() function in OHOS::AI::Thread
47 Thread::~Thread() in ~Thread()
55 void Thread::SetStackSize(const size_t size) in SetStackSize()
60 Thread::ThreadStatus Thread::Status() const in Status()
65 const IWorker *Thread::GetWorker() const in GetWorker()
70 void Thread::SetWorker(IWorker *pWorker) in SetWorker()
82 bool Thread
[all...]
H A Dthread_pool.cpp65 std::shared_ptr<Thread> ThreadPool::Pop() in Pop()
69 std::shared_ptr<Thread> thread; in Pop()
71 Thread *ptr = nullptr; in Pop()
72 AIE_NEW(ptr, Thread); in Pop()
87 void ThreadPool::Push(std::shared_ptr<Thread> &thread) in Push()
/foundation/multimedia/media_foundation/engine/include/foundation/osal/thread/
H A Dthread.h35 class Thread { class
37 explicit Thread(ThreadPriority priority = ThreadPriority::HIGH) noexcept;
39 Thread(const Thread&) = delete;
41 Thread& operator=(const Thread&) = delete;
43 Thread(Thread&& other) noexcept;
45 Thread& operator=(Thread
[all...]
H A Dtask.h67 std::unique_ptr<OSAL::Thread> loop_;
/foundation/multimedia/media_foundation/src/osal/task/pthread/
H A Dthread.cpp16 #define HST_LOG_TAG "Thread"
23 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_DOMAIN_FOUNDATION, "Thread" };
28 Thread::Thread(ThreadPriority priority) noexcept : id_(), name_(), priority_(priority), state_() in state_()
32 Thread::Thread(Thread&& other) noexcept
37 Thread& Thread::operator=(Thread
[all...]
H A Dpipeline_threadpool.cpp119 loop_ = CppExt::make_unique<Thread>(ConvertPriorityType(priority)); in PipeLineThread()
/foundation/multimedia/media_foundation/interface/inner_api/osal/task/
H A Dthread.h35 class Thread { class
37 explicit Thread(ThreadPriority priority = ThreadPriority::HIGH) noexcept;
39 Thread(const Thread&) = delete;
41 Thread& operator=(const Thread&) = delete;
43 Thread(Thread&& other) noexcept;
45 Thread& operator=(Thread
[all...]
H A Dpipeline_threadpool.h51 std::unique_ptr<Thread> loop_;
/foundation/multimedia/media_foundation/engine/foundation/osal/thread/
H A Dthread.cpp16 #define HST_LOG_TAG "Thread"
24 Thread::Thread(ThreadPriority priority) noexcept : id_(), name_(), priority_(priority), state_() in state_()
28 Thread::Thread(Thread&& other) noexcept
33 Thread& Thread::operator=(Thread&& other) noexcept
44 Thread
[all...]
H A Dtask.cpp28 loop_ = CppExt::make_unique<OSAL::Thread>(priority); in Task()
53 loop_ = CppExt::make_unique<OSAL::Thread>(priority_); in Start()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dthread.h31 typedef struct Thread Thread; typedef
35 * @brief Perform instantiation of the Thread.
37 * @param name Thread name, length less or equal 16 bytes.
38 * @return Thread pointer.
41 Thread *ThreadCreate(const char *name);
44 * @brief Destroy instantiation of the Thread.
46 * @param thread Thread pointer.
49 void ThreadDelete(Thread *thread);
52 * @brief Post Task to Thread
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dthread_linux.c34 typedef struct Thread { struct
44 Thread *thread;
59 LOG_ERROR("Thread: Queue Dequeue failed."); in ReadyToRead()
69 Thread *thread = startPromise->thread; in ThreadStartFunc()
99 int32_t ThreadIsSelf(const Thread *thread) in ThreadIsSelf()
109 static void ThreadStop(Thread *thread) in ThreadStop()
112 if (ThreadIsSelf((const Thread *)thread) == 0) { in ThreadStop()
123 Thread *ThreadCreate(const char *name) in ThreadCreate()
125 Thread *thread = (Thread *)callo in ThreadCreate()
[all...]
H A Dalarm_linux.c30 static Thread *g_alarmThread = NULL;
/foundation/ai/ai_engine/services/common/platform/threadpool/include/
H A Dthread.h30 class Thread;
112 void SetThread(Thread *thread) in SetThread()
122 Thread *thread_;
129 class Thread { class
134 Thread();
135 virtual ~Thread();
H A Dthread_pool.h34 typedef std::list<std::shared_ptr<Thread>> Threads;
41 * get a Thread from thread pool
45 std::shared_ptr<Thread> Pop();
50 void Push(std::shared_ptr<Thread>& thread);
/foundation/ai/ai_engine/test/common/threadpool/
H A Dthread_pool_test.cpp125 Thread thread; in HWTEST_F()
139 Thread testThread; in HWTEST_F()
141 HILOGD("[Test]Thread id %lu.", id); in HWTEST_F()
146 HILOGD("[Test]Thread id %lu.", id); in HWTEST_F()
183 std::shared_ptr<Thread> oneThread = threadPool->Pop(); in HWTEST_F()
199 std::shared_ptr<Thread> oneThread = threadPool->Pop(); in HWTEST_F()
216 std::shared_ptr<Thread> threadList[maxThreadNum]; in HWTEST_F()
/foundation/ai/ai_engine/services/server/server_executor/include/
H A Dengine.h37 Engine(std::shared_ptr<Plugin> &plugin, std::shared_ptr<Thread> &thread, std::shared_ptr<Queue<Task>> &queue);
89 std::shared_ptr<Thread> thread_;
/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py25 class TestServer(threading.Thread):
56 threading.Thread.__init__(self)
188 thread_recv = threading.Thread(target=self.tcp_connect, args=(conn, addr))
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_thread.h28 Thread *BTM_GetProcessingThread();
H A Dbtm_thread.c40 static Thread *g_processingThread = NULL;
181 Thread *BTM_GetProcessingThread() in BTM_GetProcessingThread()
/foundation/ai/ai_engine/services/server/communication_adapter/include/
H A Dclient_listener_handler.h33 * Thread class for listening async process result
85 std::shared_ptr<Thread> asyncProcessThread_ = nullptr;
/foundation/ai/ai_engine/services/client/communication_adapter/include/
H A Dsa_client_adapter.h150 std::shared_ptr<Thread> connectMgrThread_ = nullptr;
/foundation/ai/ai_engine/services/server/server_executor/source/
H A Dengine.cpp29 Engine::Engine(std::shared_ptr<Plugin> &plugin, std::shared_ptr<Thread> &thread, in Engine()
H A Dengine_manager.cpp203 std::shared_ptr<Thread> thread = threadPool->Pop(); in CreateEngine()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/
H A Dhci_cmd.c138 Thread *thread = BTM_GetProcessingThread(); in HciCmdOnCmdTimeout()

Completed in 8 milliseconds

12