[[ header START ]]

Welcome to OS2.GURU site! (eComStation.RU)

Select your language: Russian English Deutch Spanish Italian Portuguese Czech Polish French

Frequently asked questions and answers:
telegram

Форум обсуждение

telegram

Send message

telegram

[ +7-981-8529467 (Санкт-Петербург)

telegram

t.me/os2_guru

eComStation.RU


ru · en · de · es · it · pt · cz · pl · fr
OS/2 is a greatly different operating system for PC (ArcaOS, eComStation, IBM OS/2 Warp)
Applications, news, reviews, support of users, hardware, questions and answers.
 
[What is OS/2?  News  Install  Update  
 
 
Usage  Future  Community  Projects  

How to buy
russian OS/2 apps?

The concept of
OS/2 development

 
Update

 
Applications

 
Advantages:

 
For developer:

 
(Пайпы программ)

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

 
(Барьеры и решения)

 
Technologies:

 
(Применение в науке, лаборатории, ..)

 

 
Solutions

 
New eComStation:

 
Future:

 
(Ссылки на другие сайты)

 
(Картинка дня)

 
OS/2 artefacts:

 
Gadgets:

Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2018 to change colors and buttons on desktop.

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./showarticle.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:

CoolFM - control FM tuners

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-. ........

Comment this article.


Va e jmИno:

VА  E-Mail:

CODE:
......

  

VА  pЬМspЛvek:


Do you have an article or review of eCS application / technology? eComStation.RU site can publish it in 1 day! Contact the editor

хlАnky

OperaХnМ systИm
Software
Hardware
Pro programАtory
OstatnМ
Od editora





Last active poll: What is the height of RPM barrier?

[Google]

IBM OS/2 Warp

 
For dummies

Report: OS/2 compatible hardware

 
Reviews


     
  Why eComStation?
Features
Advantages
Usage
Clips and screenshots
   eComStation for
for businessmen
for students and engineers
for reselles of computers
community of users
   Developer
Distribute the program
Description of API, libraries
Start new project
Competition
   Applications
On-line catalogue
Select from eCo Market
   Support service
Contact the web-master
Buy eComStation
Frequently asked questions
for Beginners
 
 
© 2001 - 2021 eCo Software, All rights reserved
Сибирский Медведь технологическая компания
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae