Home
last modified time | relevance | path

Searched refs:Reactor (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dreactor.h25 typedef struct Reactor Reactor; typedef
32 * @brief Perform instantiation of the Reactor.
33 * Succeed return Reactor instantiation, failed return NULL.
36 * @return Reactor pointer.
39 Reactor *ReactorCreate();
42 * @brief Destroy instantiation of the Reactor.
44 * @param reactor Reactor pointer.
47 void ReactorDelete(Reactor *reactor);
50 * @brief Reactor star
[all...]
H A Dthread.h71 * @brief Get Thread Reactor.
74 * @return Reactor of thread
77 Reactor *ThreadGetReactor(const Thread *thread);
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dreactor_linux.c27 typedef struct Reactor { struct
40 Reactor *reactor;
56 void ReactorSetThreadId(Reactor *reactor, unsigned long threadId) in ReactorSetThreadId()
61 Reactor *ReactorCreate() in ReactorCreate()
63 Reactor *reactor = (Reactor *)calloc(1, sizeof(Reactor)); in ReactorCreate()
106 void ReactorDelete(Reactor *reactor) in ReactorDelete()
119 int32_t ReactorStart(Reactor *reactor) in ReactorStart()
175 void ReactorStop(const Reactor *reacto
[all...]
H A Dthread_linux.c38 Reactor *reactor;
82 LOG_ERROR("ThreadStartFunc: Reactor run failed."); in ThreadStartFunc()
87 // Execute all remain tasks in queue after stop Reactor. in ThreadStartFunc()
205 Reactor *ThreadGetReactor(const Thread *thread) in ThreadGetReactor()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci.c99 Reactor *reactor = ThreadGetReactor(g_hciTxThread); in HciInitQueue()
108 Reactor *reactor = ThreadGetReactor(BTM_GetProcessingThread()); in HciInitQueue()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_thread.c76 Reactor *reactor = ThreadGetReactor(g_processingThread); in AllocProcessingQueue()

Completed in 3 milliseconds