Home
last modified time | relevance | path

Searched refs:switch_in_cb (Results 1 – 3 of 3) sorted by relevance

/dports/devel/allegro/allegro-4.4.3.1/src/
H A Ddispsw.c52 static void (*switch_in_cb[MAX_SWITCH_CALLBACKS])(void) = { NULL, NULL, NULL, NULL, NULL, NULL, NUL… variable
81 switch_in_cb[i] = switch_out_cb[i] = NULL; in set_display_switch_mode()
118 if (!switch_in_cb[i]) { in set_display_switch_callback()
119 switch_in_cb[i] = cb; in set_display_switch_callback()
144 if (switch_in_cb[i] == cb) in remove_display_switch_callback()
145 switch_in_cb[i] = NULL; in remove_display_switch_callback()
162 if (switch_in_cb[i]) in _switch_in()
163 switch_in_cb[i](); in _switch_in()
/dports/devel/st/st-1.9/
H A Dcommon.h236 st_switch_cb_t switch_in_cb; /* called when a thread is switched in */ member
389 if (_st_this_vp.switch_in_cb != NULL && \
392 _st_this_vp.switch_in_cb(); \
H A Dsched.c198 st_switch_cb_t ocb = _st_this_vp.switch_in_cb; in st_set_switch_in_cb()
199 _st_this_vp.switch_in_cb = cb; in st_set_switch_in_cb()