home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / thrd1.zip / read.me < prev    next >
Text File  |  1994-03-07  |  865b  |  22 lines

  1. Thread example program
  2. ======================
  3.  
  4. This example uses 2 threads.
  5. Thread1 contains a menubar that lets you start the 2nd thread, send messages to
  6. it so that it opens  new frame windows or closes the frames, or stop the 
  7. threads.
  8.  
  9. Thread1 communicates to thread2 via an IObjectWindow.
  10. Thread2 is passed an IStaticText* for an object in thread1. Thread2 writes to
  11. this IStaticText.
  12.  
  13. NOTE: When running the program, you must use the first menu option (start) to
  14. start thread2 before sending the messages that cause thread2 to display Frames
  15. 2 - 5. There are any number of ways to remove this restriction from the program.
  16. (This is left as an exercise for the user.)
  17.  
  18. This program was built and tested using version 2.01 with CTM0004 applied. To
  19. build the program, cd to the directory where you unzipped the sample and enter:
  20.     nmake
  21.  
  22.