TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Darin McBride
from: Mikael Wahlgren
date: 1996-06-06 01:46:52
subject: Semaphores (16 & 32)

On May 22 17:20 96, Darin McBride of 1:342/708 wrote:

 DM> APIRET16 APIENTRY16 _far16 DosCreateSem(USHORT usNoExclusive,
 DM> PHSEM  phsemSemHandle,
 DM> PCSZ   pszSemName);
 DM> APIRET16 APIENTRY16 _far16 DosOpenSem(PHSEM SemHandle,
 DM> PCSZ SemName);
 DM> APIRET16 APIENTRY16 _far16 DosSemRequest(HSEM  hsemSemHandle,
 DM> LONG  lTimeout);
 DM> APIRET16 APIENTRY16 _far16 DosSemClear(HSEM hsemSemHandle);
 DM> APIRET16 APIENTRY16 _far16 DosCloseSem(HSEM hsemSemHandle);

   You don't need the _far16's, but you should prefix all calls with Dos16
instead of just Dos...

       Mvh / Mikael Wahlgren

--- Msgedsq/2 2.2e
* Origin: OS2You Support BBS +46 31 196406 (2:203/302.5)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 203/302 213 200/204 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.