[Casa-framework] Table lock under python

Kumar Golap kgolap at nrao.edu
Tue Sep 26 18:44:59 EDT 2006


Hmm. unlocking  does not seem to help ...in my destructor i have this

Simulator::~Simulator()
{
  if (ms_p) {
    ms_p->unlock();
    delete ms_p;
  }


Kumar


On 9/26/06, Raymond Rusk <Raymond.Rusk at nrc-cnrc.gc.ca> wrote:
> We saw issues like this with the proto-pipeline as well. I remember
> playing around with PermanentLocking, UserLocking, etc.  I believe that we
> tweaked the settings until it worked ok for Lindsey.
>
> On Tue, 26 Sep 2006, Kumar Golap wrote:
>
> > I've noticed an interesting locking issue... Maybe because now that
> > the python and the table or ms tool or any other too have the same
> > process id ...the lock on tables seems to hold even after quit the
> > tool.  So if i access the same table via the glish table tool say it
> > waits on the lock till I quit python.
> >
> > Kumar
> > _______________________________________________
> > Casa-framework mailing list
> > Casa-framework at donar.cv.nrao.edu
> > http://listmgr.cv.nrao.edu/mailman/listinfo/casa-framework
> >
>
> --
> Dr. Raymond Rusk                                        Dr. Raymond Rusk
> ALMA Software Engineer                           Ingenieur Logiciel ALMA
> National Research Council Canada   Conseil national de recherches Canada
> Herzberg Institute of Astrophysics   L'Institut Herzberg d'Astrophysique
> DRAO, P.O. Box 248                                    OFRA, B.P. Box 248
> Penticton, BC V2A 6J9           |\^/|         Penticton, (C.-B.) V2A 6J9
> Government of Canada         _|\|   |/|_          Gouvernement du Canada
> Tel: (250)490-4347           >         <              Tel: (250)490-4347
> Fax: (250)493-7767            >_./|\._<               Fax: (250)493-7767
> Raymond.Rusk at nrc-cnrc.gc.ca                  Raymond.Rusk at nrc-cnrc.gc.ca
>


More information about the Casa-framework mailing list