On Thu, 2006-11-09 at 22:21 +1100, Jonathan Kelly wrote:
> skaller wrote:
> > On Thu, 2006-11-09 at 07:41 +1100, Jonathan Kelly wrote:
> >
> >   
> >> I'm trying to wrap ncurses and want to deal with SIGWINCH, and I'd want 
> >> to handle SIGINT too of course, to tidy up.
> >>     
> >
> > I guess I'd do the signal handling in plain C, and set global
> > variables, then get a Felix pthread to loop around,
> > checking every 1/10 second, and sleeping in between.
> >
> > Not very nice but it should work.
> >
> >
> >   
> 
> 
> Yuk! Thinking ... couldn't  a C procedure call a felix 
> function/procedure somehow? Or does that break something
> 

Yes, but what would that achieve? Such a procedure
cannot interact with shared data. Inside a signal you
cannot use a mutex for fear of deadlock.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to