[GRASS5] Re: [bug #751] (grass) Automatic select of monitor

Justin Hickey jhickey at hpcc.nectec.or.th
Mon Jun 11 03:21:52 EDT 2001


Hi Glynn

Glynn Clements wrote:
> 
> Request Tracker wrote:
> 
> > When using tcltkgrass with a saved configuration, a monitor opens
> > automatically. However, occaisionaly, it is not selected and I have 
> > to select it manually. Perhaps the wait for socket connection is
> > not long enough.
> 
> I don't know if this is related or not, but looking into this made me
> realise that one of my planned changes was never implemented.
> 
> I've now changed the driver startup so that it doesn't fork() until
> after listen() is called (in fact, immediately before the main loop).
> This should completely eliminate any possibility of race conditions;
> the socket will be in the LISTEN state before mon.start exits.

OK, I've updated my sources and tried running tcltkgrass about 10 times
and I haven't seen the problem yet. Perhaps your change fixed this
problem.

Thanks for the fix. I'll mark this resolved on RT.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================



More information about the grass-dev mailing list