# | Line 98 | Line 98 | void operator>>(int fd, Display::Packet | |
---|---|---|
98 | ||
99 | void Communicate(Display *display) | |
100 | { | |
101 | + | while (true) |
102 | + | std::cout << _B("Hello!") << std::endl; |
103 | } | |
104 | ||
105 | < | Display::Display(const std::string &device) : ucom(Posix::Open(device, O_RDWR | O_NOCTTY)), thread(reinterpret_cast<void *(*)(void *)>(::Communicate)) |
105 | > | Display::Display(const std::string &device) : ucom(Posix::Open(device, O_RDWR | O_NOCTTY)), thread(reinterpret_cast<void *(*)(void *)>(::Communicate), this) |
106 | { | |
107 | ::termios state; | |
108 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |