Lines Matching defs:sc
26 simple_core_t *sc = elem->sc;
28 apr_thread_mutex_lock(sc->mtx);
30 apr_thread_mutex_unlock(sc->mtx);
37 simple_register_timer(simple_core_t * sc,
47 apr_thread_mutex_lock(sc->mtx);
49 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t, link);
58 elem->sc = sc;
61 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t, link);
64 if (!APR_RING_EMPTY(&sc->timer_ring, simple_timer_t, link)) {
65 ep = APR_RING_FIRST(&sc->timer_ring);
67 ep != APR_RING_SENTINEL(&sc->timer_ring, simple_timer_t, link))
70 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t,
74 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t,
81 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t, link);
84 APR_RING_INSERT_TAIL(&sc->timer_ring, elem, simple_timer_t, link);
87 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t, link);
89 apr_thread_mutex_unlock(sc->mtx);
98 ep->cb(ep->sc, ep->baton);