TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mikko Hyvarinen
from: Wim Veldhuis
date: 1996-11-19 20:35:08
subject: Mutex semaphores

Mikko Hyvarinen wrote in a message to Mario Semo:

 MS>  so (better):
 MS>    class RequestMutex
 MS>    {

 MH> Any ideas on how to do this in plain C?

AFAIK, can't be done.
The example uses C++ extensions like automatic destructor calling for an
automatic object. This is not implementable in C since it is something the
compiler adds to the code. If you want to do something like that in C,
you'll have to do it manually, like in the original message.

menestys.

mvg/wr
  
--- timEd/2 1.01.g3+
* Origin: LightHouse BBS ==> I am a H.U.G.O. Member ! (2:285/324.3)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 285/324 32 1 280/801 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™.