Adding tty thread primitive which only reports alive status every 10 seconds.
This commit is contained in:
parent
be121ac22f
commit
3926b7738d
4 changed files with 37 additions and 7 deletions
|
@ -71,6 +71,7 @@ int tty_reconfigure(struct tty_t *tty_dev, struct termios newttyset);
|
|||
int tty_read(struct tty_t *tty_dev);
|
||||
/* Sends data from a buffer to tty device. */
|
||||
int tty_write(struct tty_t *tty_dev, char *databuf, int datalen);
|
||||
|
||||
/* Main tty thread function */
|
||||
void *tty_thread_func(void *arg);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue