[C++-sig] Not using virtual method

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Thu May 6 12:08:34 CEST 2004


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 !

Pierre

Le jeu 06/05/2004 à 11:24, Richard M Norton a écrit :
> 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?
> 
> 

-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68 
-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68 





More information about the Cplusplus-sig mailing list