[C++-sig] Not using virtual method
Niall Douglas
s_sourceforge at nedprod.com
Fri May 7 04:18:34 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6 May 2004 at 12:08, Pierre Barbier de Reuille wrote:
> What I'd try (I cannot garantee it will work) is to get the
> interpreter lock in the C++ wrapper of your callback function. You
> have functions, in the Python/C API to do this ... but as far as I
> tried them I failed to use them correctly (but it was a bit more
> complex as I did want to have an atomic "try to lock" function). If
> you succeed in doing it, please send me what you did !
>
> > How can i hold the interpreter for an asynchronized method
calling?
> > The play calls the transform method in this way, so how do i
> > approach this?
You can find a patch posted to this mailing list some months ago by
me which does what you want. It may be slightly incomplete - however
what I've used in TnFOX (at http://www.nedprod.com/TnFOX/) is up to
date - just look at the BoostPatches.zip file within the source
archive.
Cheers,
Niall
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2
iQA/AwUBQJrx/MEcvDLFGKbPEQJ/FACgqaEMuLHGfu++w9eRg/jkQXrEg0EAoMud
qsxW3BxXsQWQKZG2M++AbwGk
=T/Wz
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig
mailing list