title: Design Pattern for Multithreaded GUI Application
body: <p>I am working on a multithreded GUI application  GUI change depends on the data coming from another communcation thread. </p>
  
  <ol>
  <li><p>communication thread sets data for GUI and flags for change in data.</p></li>
  <li><p>Currently we are checking with the help of a timer in the main thread for flags set by the network thread and on change change GUI also. </p></li>
  <li><p>But it is getting messy due to large size of project.</p></li>
  </ol>
  
  <p>So if there any design pattern for these kind of problems...</p>
  
  <p>Thanks in advance...</p>