multiple instances of G_[get][set]env

Steve Dzurenko steve at ocean.oce.uri.EDU
Tue Aug 29 07:01:38 EDT 1995


Is there a problem with mulitple instances of the functions
G__getenv() and G_setenv() running at the same time?  I thought
I read somewhere that this is a problem, like multiple applications
trying to connect to the same GRASS monitor at the same time.

I have two applications that need to run simultaneously.  They
both make a fair amount of calls to G__getenv() and G_setenv().
Every now and then, things blow up and one application or the
other fails.  I believe I have narrowed the problem down to the
calls to G__getenv() and G_setenv().  

Does anyone know what might be happening?

Thanks.

-Stephen Dzurenko
 Ocean Mapping Division
 Ocean Technology Center 
 Graduate School of Oceanography
 University of Rhode Island

 ph: 401 792-6853
 fx: 401 792-6849
 e-mail: steve at ocean.oce.uri.edu



More information about the grass-user mailing list