cvs.gedasymbols.org/archives/browse.cgi | search |
Date: | Mon, 28 Dec 1998 14:14:03 -0500 |
Message-Id: | <199812281914.OAA02745@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <MzQh2.55922$c8.28442167@hme2.newscontent-01.sprint.ca> |
(ok11 AT ihatespam DOT sprint DOT ca) | |
Subject: | Re: Locking Code |
References: | <MzQh2.55922$c8 DOT 28442167 AT hme2 DOT newscontent-01 DOT sprint DOT ca> |
Reply-To: | djgpp AT delorie DOT com |
> class My_Class > > Would the locking procedure be the same? First off, be careful using member functions as callbacks - they expect a hidden extra first parameter. Second, if the function is virtual, you must lock the class's virtual table also. Third, be aware that you must lock the object itself, not just the method you call on it. Otherwise, it's just like a regular function.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |