• Home
  • Raw
  • Download

Lines Matching refs:reactor

17   reactor_t* reactor = (reactor_t*)ptr;  in reactor_thread()  local
20 reactor_start(reactor); in reactor_thread()
26 static void spawn_reactor_thread(reactor_t* reactor) { in spawn_reactor_thread() argument
27 int ret = pthread_create(&thread, NULL, reactor_thread, reactor); in spawn_reactor_thread()
34 reactor_t* reactor = reactor_new(); in TEST_F() local
35 EXPECT_TRUE(reactor != NULL); in TEST_F()
36 reactor_free(reactor); in TEST_F()
42 reactor_t* reactor = reactor_new(); in TEST_F() local
43 reactor_stop(reactor); in TEST_F()
44 reactor_start(reactor); in TEST_F()
45 reactor_free(reactor); in TEST_F()
49 reactor_t* reactor = reactor_new(); in TEST_F() local
51 reactor_stop(reactor); in TEST_F()
52 reactor_start(reactor); in TEST_F()
54 reactor_free(reactor); in TEST_F()
58 reactor_t* reactor = reactor_new(); in TEST_F() local
60 spawn_reactor_thread(reactor); in TEST_F()
64 reactor_stop(reactor); in TEST_F()
68 reactor_free(reactor); in TEST_F()
72 reactor_t* reactor; member
79 reactor_stop(arg->reactor); in unregister_cb()
83 reactor_t* reactor = reactor_new(); in TEST_F() local
87 arg.reactor = reactor; in TEST_F()
88 arg.object = reactor_register(reactor, fd, &arg, unregister_cb, NULL); in TEST_F()
89 spawn_reactor_thread(reactor); in TEST_F()
95 reactor_free(reactor); in TEST_F()
99 reactor_t* reactor = reactor_new(); in TEST_F() local
103 reactor_object_t* object = reactor_register(reactor, fd, NULL, NULL, NULL); in TEST_F()
104 spawn_reactor_thread(reactor); in TEST_F()
108 reactor_stop(reactor); in TEST_F()
112 reactor_free(reactor); in TEST_F()