nanogui: TIMERS


Previous by date: 11 Jul 2006 16:20:50 +0100 Re: Microwin and Wince, Greg Haerr
Next by date: 11 Jul 2006 16:20:50 +0100 nano-X is real X server?, Sergey Kolosov
Previous in thread: 11 Jul 2006 16:20:50 +0100 Timers, Dave Stuart
Next in thread: 11 Jul 2006 16:20:50 +0100 Timers, Bajimohanreddy Bandi

Subject: Re: [nanogui] Timers
From: "Greg Haerr" ####@####.####
Date: 11 Jul 2006 16:20:50 +0100
Message-Id: <062701c6a4fd$93adcd40$2f01a8c0@HaydenLake>

Dave -

The problem here is likely to do with signals, IIRC the
GrCreateTimer mechanism uses these on the client side.
You might comment out all signal() calls in nxterm.c to see
if this affects the behaviour, although I quickly checked and
couldn't see an obvious issue.  Also, set VTSWITCH=N
when compiling the server.  Are you running link app to server,
or seperately?  If linked, then there's the additional problem
of the server's signalling needs.

Regards,

Greg

I am having some problems with timers.  The programs that I am working with 
are:

ftp://justdave.us/example.c

ftp://justdave.us/nxterm.c

Nxterm has been modified from the original to support linux console terminal 
type and to allow calling from another c program.  I have linked the 
programs together and everything works fine until nxterm exits back to the 
example program.  At that point the timers disappear and even if I 
re-establish them with the GrCreateTimer, they will never generate an event. 
I'm probably doing something stupid in nxterm but I can't find the problem.

I'd appreciate any help anyone can offer.

thanks

dave


Previous by date: 11 Jul 2006 16:20:50 +0100 Re: Microwin and Wince, Greg Haerr
Next by date: 11 Jul 2006 16:20:50 +0100 nano-X is real X server?, Sergey Kolosov
Previous in thread: 11 Jul 2006 16:20:50 +0100 Timers, Dave Stuart
Next in thread: 11 Jul 2006 16:20:50 +0100 Timers, Bajimohanreddy Bandi


Powered by ezmlm-browse 0.20.