Home | History | Annotate | Download | only in test

Lines Matching refs:reactor

7 #include "reactor.h"
14 reactor_t *reactor = (reactor_t *)ptr;
17 reactor_start(reactor);
23 static void spawn_reactor_thread(reactor_t *reactor) {
24 int ret = pthread_create(&thread, NULL, reactor_thread, reactor);
39 reactor_t *reactor = reactor_new();
40 EXPECT_TRUE(reactor != NULL);
41 reactor_free(reactor);
49 reactor_t *reactor = reactor_new();
50 reactor_stop(reactor);
51 reactor_start(reactor);
52 reactor_free(reactor);
56 reactor_t *reactor = reactor_new();
58 reactor_stop(reactor);
59 reactor_start(reactor);
61 reactor_free(reactor);
65 reactor_t *reactor = reactor_new();
67 reactor_stop(reactor);
68 reactor_stop(reactor);
69 reactor_stop(reactor);
71 reactor_start(reactor);
72 reactor_start(reactor);
73 reactor_start(reactor);
75 reactor_free(reactor);
79 reactor_t *reactor = reactor_new();
81 spawn_reactor_thread(reactor);
85 reactor_stop(reactor);
89 reactor_free(reactor);
93 reactor_t *reactor = reactor_new();
96 reactor_status_t status = reactor_run_once_timeout(reactor, 50);
100 reactor_free(reactor);