Message-Id: <3.0.16.19971003194523.2bf769ac@hem1.passagen.se> Date: Fri, 03 Oct 1997 19:45:28 -0400 To: djgpp AT delorie DOT com From: Peter Palotas Subject: Locking in C++. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk I wonder if there is some way to lock a memberfunction of a class in DJGPP. I know an ordinary function can (strangely enough), as it seems, be locked by creating a dummy function right after the function you want to lock. But does this work for a member-function of a class too? (I somehow doubt that). Isn't there any other way to find out the size of a function? Or can you put a member function of a class in a specific code-segment and then lock the entire segment? (Maybe one can lock an entire class in one step?)... Well, I'd be greatful if anyone could help me out with this. -- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se -- ***************************************************** * A brief description of DJGPP: * * NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! * *****************************************************