delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/03/13:46:52

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 <blizzar AT hem1 DOT passagen DOT se>
Subject: Locking in C++.
Mime-Version: 1.0

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! *
*****************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019