home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / os2 / semaph / semaph.hlp (.txt) < prev    next >
OS/2 Help File  |  1999-05-12  |  6KB  |  168 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. About SEMAPH ΓòÉΓòÉΓòÉ
  3.  
  4.  The SEMAPH application is a sample Presentation Manager application which 
  5. demonstrates the use of Mutex, Event and Mux Semaphores. In the application 
  6. several threads are sharing access to the same resource.  A mutex semaphore is 
  7. used to guarantee that only one thread has access to the resource at a time. 
  8. An event semaphore is used to signal the thread to give up the resource.  The 
  9. event semaphore can by posted by the user or the application can be run in auto 
  10. mode, in which case the event semaphore will be posted at fixed time intervals. 
  11. A Mux semaphore is used to check for a stop event or a user signal to give up 
  12. the resource.  This application also serves as a template than can be easily 
  13. modified by an application developer. 
  14.  
  15.  
  16. ΓòÉΓòÉΓòÉ 2. Help Menu ΓòÉΓòÉΓòÉ
  17.  
  18. Use the choices on the Help pull-down to display: 
  19.  
  20.  Help index 
  21.       Displays the index of help menu. 
  22.  
  23.  General Help 
  24.       Displays some information about Semaph sample program. 
  25.  
  26.  Keys Help 
  27.       Displays a list of keys usage. 
  28.  
  29.  Using Help 
  30.       Provides detailed information on the kinds of help available and how to 
  31.       use help. 
  32.  
  33.  
  34. ΓòÉΓòÉΓòÉ 3. General Help ΓòÉΓòÉΓòÉ
  35.  
  36. Use this choice to get general help for the program. General help provides 
  37. general information about the Semaph sample program. 
  38.  
  39. Map above displays the number of hits for each thread. 
  40.  
  41. Squares below change color as are hit by a thread. 
  42.  
  43.  
  44. ΓòÉΓòÉΓòÉ 4. Extended ΓòÉΓòÉΓòÉ
  45.  
  46. Use this choice to obtain information on how to use the Help facility. 
  47.  
  48.  
  49. ΓòÉΓòÉΓòÉ 5. Tutorial of Keys ΓòÉΓòÉΓòÉ
  50.  
  51. Use this choice to see a list of keys and a description of the function of the 
  52. keys. 
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ 5.1. Key Assigments ΓòÉΓòÉΓòÉ
  56.  
  57. The list of keys is arranged in groups. 
  58.  
  59. ACCELERATOR KEYS 
  60.  
  61. HELP KEYS 
  62.  
  63.    F1 
  64.              Get help 
  65.  
  66.    Esc 
  67.              Previous Help Panel, or End help if only one panel 
  68.  
  69.    Alt 
  70.              Switch IN/OUT action bar 
  71.  
  72.    Alt+F4 
  73.              End help or End program 
  74.  
  75.    SYSTEM KEYS 
  76.  
  77.    Alt+Esc 
  78.              Switch to the next program, including full-screen programs 
  79.  
  80.    Ctrl+Esc 
  81.              Switch to the Task List 
  82.  
  83.    WINDOW KEYS 
  84.  
  85.    Underlined letter 
  86.              Move among the choices on the action bar and pull-downs submenu or 
  87.              execut the function chosen 
  88.  
  89.  
  90. ΓòÉΓòÉΓòÉ 6. Index ΓòÉΓòÉΓòÉ
  91.  
  92. Use this choice to display the help index. 
  93.  
  94. The help index lists the titles of the help information that is available. 
  95.  
  96.  
  97. ΓòÉΓòÉΓòÉ 7. Information ΓòÉΓòÉΓòÉ
  98.  
  99. This dialog displays information about the application, such as version number 
  100. and copyright notice. 
  101.  
  102.  
  103. ΓòÉΓòÉΓòÉ 8. Information ΓòÉΓòÉΓòÉ
  104.  
  105. The OK button closed dialog box. 
  106.  
  107.  
  108. ΓòÉΓòÉΓòÉ 9. Information ΓòÉΓòÉΓòÉ
  109.  
  110. This menu item will bring up four choices that indicated the number which 
  111. thread will be created. 
  112.  
  113.  
  114. ΓòÉΓòÉΓòÉ 10. Information ΓòÉΓòÉΓòÉ
  115.  
  116. This menu item indicated there are 2 threads will be created. 
  117.  
  118.  
  119. ΓòÉΓòÉΓòÉ 11. Information ΓòÉΓòÉΓòÉ
  120.  
  121. This menu item indicated there are 4 threads will be created. 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 12. Information ΓòÉΓòÉΓòÉ
  125.  
  126. This menu item indicated there are 8 threads will be created. 
  127.  
  128.  
  129. ΓòÉΓòÉΓòÉ 13. Information ΓòÉΓòÉΓòÉ
  130.  
  131. This menu item indicated there are 16 threads will be created. 
  132.  
  133.  
  134. ΓòÉΓòÉΓòÉ 14. Information ΓòÉΓòÉΓòÉ
  135.  
  136. This menu item starts the program. 
  137.  
  138.  
  139. ΓòÉΓòÉΓòÉ 15. Information ΓòÉΓòÉΓòÉ
  140.  
  141. This menu item indicated the program will create semaphs and events by program. 
  142.  
  143.  
  144. ΓòÉΓòÉΓòÉ 16. Information ΓòÉΓòÉΓòÉ
  145.  
  146. This menu item indicated the program will create semaphs and events by user. 
  147.  
  148.  
  149. ΓòÉΓòÉΓòÉ 17. Information ΓòÉΓòÉΓòÉ
  150.  
  151. This menu item will bring up a dialog box which can let user change minimum 
  152. interval for posting event semaphore. 
  153.  
  154.  
  155. ΓòÉΓòÉΓòÉ 18. Information ΓòÉΓòÉΓòÉ
  156.  
  157. This menu item will stop program running in automatic mode. 
  158.  
  159.  
  160. ΓòÉΓòÉΓòÉ 19. Information ΓòÉΓòÉΓòÉ
  161.  
  162. This menu item will resume program running in automatic mode. 
  163.  
  164.  
  165. ΓòÉΓòÉΓòÉ 20. Information ΓòÉΓòÉΓòÉ
  166.  
  167. This menu item will create and post an event and semaphore to a thread, once 
  168. each time.