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

Function ttydevsw_inwakeup

components/lwp/terminal/terminal.h:325–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325rt_inline void ttydevsw_inwakeup(struct lwp_tty *tp)
326{
327 tty_assert_locked(tp);
328 MPASS(!tty_gone(tp));
329
330 /* Prevent spurious wakeups. */
331 if (tp->t_flags & TF_HIWAT_IN)
332 return;
333
334 tp->t_devsw->tsw_inwakeup(tp);
335}
336
337rt_inline int ttydevsw_ioctl(struct lwp_tty *tp, rt_ubase_t cmd, rt_caddr_t data,
338 struct rt_thread *td)

Callers 2

tty_flushFunction · 0.85
tty_hiwat_in_unblockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected