TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jeff Glatt
from: Craig Morrison
date: 1995-02-24 10:57:38
subject: Semaphores

Jeff Glatt wrote in a message to All:

 JG> Here's another interesting question. I noticed that there's
 JG> a DosCreateEventSem() function. I suspect that when such a
 JG> function is called, it "allocates" certain resources in
 JG> order to make a semaphore available. But, there appears to
 JG> be no complementary DosDeleteEventSem() listed in IBM docs.

  Before you go jousting with that next windmill and crying bug, look up
DosCloseEventSem().

 JG> resources. Is this just another design flaw of OS/2, or is
 JG> there some reasonable explanation for what appears to be an
 JG> oversight in providing a programmer with the necessary means
 JG> to efficiently manage his program's resources?

  No it is a case of not looking in the right place.. Each function in the
Control Program Reference has a "Related Functions" section, that
is generally a good place to look when you can't find what you are looking
for right away.

    See ya,

Craig
cam{at}wpc.cioe.com

--- timEd/2 1.00
* Origin: Workplace Connection * (317) 742-2680 (1:201/60)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 201/60 1 3615/50 229/2 12/2442 711/409 808 809 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™.