НОВОЕ: OS/2 GURU - Вопросы и ответы

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

ArcaOS 5.0 Russian
Russian ARCAOS exists and it's available since the middle of 2017. All versions are supported: 5.0, 5.0.1, 5.0.2.

eCo Software is able release OS/2 LIP packages for any other language (German, Dutch, Brazilian Portuguese, Spanish, Sweden, etc)

Usage of semaphores in Presentation Manager environment


TITLE: Usage of semaphores in Presentation Manager environment

DATE: 2010-05-23 21:10:45

AUTHOR: Dmitry A. Steklenev
Please use online translator
go to http://translate.google.com
and request the translation of http://ru.ecomstation./projects/reviews/index.php?id=210
to your language

... ..... .......

....... (..... mutex, .. mutual exclusion - ........ ..........) - ........... ......., ........ . ................ ... ............. ............ ............. ........ .......... ...... .......... ........ ... ...... ..... ........ .. .............. ....... .. ...... ....... ... ..........

........ ........ ....... ..... ....... ........ .. ......... . ....... ......... ............. ....... . ..... ......... ..., ..... ........... . ......... ........ ...... . ... ......, .... ....... ... ........ ...... ........ ... ........ ....... ............. ......... ..... ............ ......... .... ... .......... ........., . ......... ........ ........... ... ...... ...... ........ ........, .... .... . ...... ...... ....... .. ..... . .. ..... ...... . ...... ........ ..... ........... ............. ..... .......... .......... ........... ......., ....... ..... .. ..... .... . .. ...... . ........ . ...... ......., ... ... .......... . ...... ............. ... ............. ..... .... .........

........ ..........

........ ......... ... ............. .......... ........., ... ............. ........ ........... ... ............. ..... .........., ... ...... ..... .......... ....... ...... .. ....... ............ ... .... ..... ...., . .. . ....., ........ ......... .......... ...... ........ ..........:

  1. ..... 1 ....... ........... ....... A.
  2. ..... 2 ....... ........... ....... B.
  3. ..... 1 ....... ....... ........ B.
  4. ..... 2 ....... ....... ........ A.

......... ........ .......... ... ....... ........ ........ ......... ......., ... ... ... .. ............. ..... ............. ....... .............. .......... .......... ........ .......... ........ ......... ........ .......... ........ .......... ........ ......... . ...... . ............ .. . ....., ...... ............, ........ .......... ... ... ....... ...... .. ......... ............, .. .. ........ .. ........ ..... ...... .......

....... ........, ... . OS/2 ........... ............. ........., ........... ........... ............. ........ ..........: ..... ..... ........ ......... ......., ..... ... ........... .... .. ........

........ . ..... Presentation Manager

......... ........ . ..... PM, . ....... ............, .. ........... . .........., ..... ............. ........ ........... ... ..... ........... .... . ... ......, .... .. ... .......... ........... .... ............ ........ ...... .. ..... ..........? ... ..... ....... .......... ........... . .......... ......... ......... ..... ........ . Presentation Manager.

WinPostMsg . WinSendMsg

. ...... . WinPostMsg c........ ........ . ....... ......, ........ ........... ...., .......... ......... ... ....... .......... ..... ....., .......... ......, .......... ........., ............. ........... .........., ..... ......... ......... ..... .......... . ...... ..... .......... .... ..........

..... ...-.. ......... ....... ......... . ....... WinPostMsg .. ............ ........, ............ . ....... WinSendMsg, ..... ........ ......... ........ ......... .......... ....... ..... .... ........ ..... .., ... ..... ........ ...... .. ..... . ...... ......... ... .. ... . .....

. ...... ........ ........., .......... ........... ...... ............... .. ... ..., .... ......... .. ..... .......... ............ ..... ......... ........., ......... ......... ............ ........... ...... . ... .......... ............... ....... ........, ... .... ...., .......... ......... ... ........., ........... .... .. ...... ........... ......, .. ..... .......... ...... ..... ....... ......... ......... ... ..... ..... . ...... .., .... .... ......... . ...... ...... . .... ..... . ....... ...... ..... .......... ....... ......... (.... . .......... ... ......), .......... ..... ..... ....... .. ... ..., .... ... ......... .. ........... . ...... ..... ..... .......... ........ ......... ...........

... .. ..........

.... ........... ......... .......... ....., .. ..... ........, ... WinSendMsg ..... .... ..... ... .., ... ..... .... ........ . OS/2. ........, ... ........ ........ ......... . Presentation Manager . .......... . ....... .......... . ... . ... ........ .............., ..... .. ........ ......., .. ..... ......... . .......... ........ ........... .......... ......:

  1. ..... 1 ....... ........... ....... A.
  2. ..... 2 ....... ....... ........ A.
  3. ..... 1 ....... ........... ........ ......... . ..... 2.

... .. ........ ....... . ..........

............. ....... ....., ... ............ ........ . ..... PM .. ...... ... ..... ..... ........... ....... .. ..., ..... ..... ........ . ............. ........ .. .......... ....... ......., ....... ....... ........ ......... . ...... ....... . .. . ...... ...... ......... ....... .......... ...........

......, ....... ........... . .......... ...... .. ...... .., ... ......... ...... .... ......... ..... .......... . ... ...... ....... ...., ........, .... ........ ........ ............. ....... WinRequestMutexSem.

........ .... ....... .. .... ......... DosRequestMutexSem ........ .., ... ....., ........ . ........ ........ . ....... .... ......., ..... .......... ......... ........., ............ ....... ......... ..... ........, ... ........... . .............. ...... ........., .......... WinSendMsg. ........., .......... WinPostMsg, .. ........ .......... . ....... ......... . ....... ..... ..........

. .... ....... .... ... ..........:

  1. ..... ........, ......... ... ...... ......., ..... .. ........... . ........... .......... .......... ... ......, ... ..... ......... ......... ......., .......... ......... ...... ........., . ..... .... ......... ..... .... ..........
  2. ....... .......... ......... ..... ........ ........... .... .... ... ......... ......... A, ..... ..... . ........ ........, .. ......... B, ........ ........ ........ ....., . ..... ..... .......... ...... A.

... .... .......... .. ........ .......... ............., ..... .......... .. ..........., ....... .... ............. WinRequestMutexSem.

............

.... ............... .......... ... .........., ............... ... ...... . ..... Presentation Manager, .. ... ....... ......... .......... ............ ...... ...... WinRequestMutexSem. .... . ... ......, .... .. ....... ...... ............. DosRequestMutexSem ........ ...... ........... ... ........ ........ ......... ....... ... .......... ............ ..... .. ....... ....... .............. ......... ........, ... ... ... ...... WinRequestMutexSem .. ......, ....... .. ..... ....... ......... ., ............., .. ..... .... ........... ........., ..... WinRequestMutexSem ..... ............. ............ . ..... DosRequestMutexSem.

.......... ........, ... Presentation Manager ..... ............. ....... WinWaitEventSem . WinWaitMuxWaitSem, .......... ......... ....... DosWaitEventSem . DosWaitMuxWaitSem . ........... .... .. .............. .........., ... . WinRequestMutexSem.

Test the program:

PMView work on your computer during several years. It's time to reward the developer (+ send bug-reports and ideas to the developer).

Comments:

.......
2010-05-25 13:44:05

... ... ........., .. ..... ... .... ...... .......... ... ... . .. ..... . .... .. ........ ........ .. ..... ...... ..........: ... .... ..... ......, ... ........... (..... . .........), . ..... ......, ... ........ ....... . ....... .. ........ ... ..... ... ....... .......... .. ..... . ... . ... ......... ....... ....., ... ... .....? . .... .., .. ... ........ . ..... .......

dixie
2010-05-25 15:15:23

.., .. ........ ...... WinRequestMutexSem ... .. ..... ;) ... .., .... ...... .....-.. ........., ...... .. .. ... ..... . SendMsg ...... ..... ....... .......

GlassMan
2010-05-26 17:23:55

.. .. ..... ........ . ..., ... ....... .. ... ... ...... ...... ..... .. ... ...., ..... ............. ....... .......... . .......... ........ .......

Sergey Posokhov
2010-06-07 20:41:16

"....... ........... . .......... ......" - . .......... ... "DosCallNPipe()" :)

. ....... . ....... "WinRequestMutexSem()" - .. ......., . ".......". ... ..... post-......... .. ...... .. ..........

Eugene Gorbunoff
2010-06-12 12:59:41

From: Lars Erdmann

It would be helpful to have this article available in english :-)

source: [url]

ElectroDog
2010-10-19 13:25:00

...... ........ OS/2 ........... ...... .... ..... ........ .. .. . ........ ............ ... .. ............, ...... .......... .... ".........." ........ ........... .. ..... .......... ...... ............ "PM .........." .. 15-. ........

eComStation 2.0 may be installed to computer with Windows 7. You can find the instructions in eCSFAQ and Installation Guide.

 


 

(C) OS2.GURU 2001-2021