ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/DashInterface/Display.cpp
(Generate patch)

Comparing DashInterface/Display.cpp (file contents):
Revision 31 by douglas, 2008-02-28T22:06:06-08:00 vs.
Revision 32 by douglas, 2008-02-29T12:47:34-08:00

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines