MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ttydevsw_outwakeup

Function ttydevsw_outwakeup

components/lwp/terminal/terminal.h:313–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313rt_inline void ttydevsw_outwakeup(struct lwp_tty *tp)
314{
315 tty_assert_locked(tp);
316 MPASS(!tty_gone(tp));
317
318 /* Prevent spurious wakeups. */
319 if (ttydisc_getc_poll(tp) == 0)
320 return;
321
322 tp->t_devsw->tsw_outwakeup(tp);
323}
324
325rt_inline void ttydevsw_inwakeup(struct lwp_tty *tp)
326{

Callers 5

ttydisc_writeFunction · 0.85
ttydisc_rint_doneFunction · 0.85
tty_drainFunction · 0.85
tty_flushFunction · 0.85
tty_generic_ioctlFunction · 0.85

Calls 1

ttydisc_getc_pollFunction · 0.85

Tested by

no test coverage detected