Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Eiffel > Re: embedded or...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 12 Topic 903 of 917
Post > Topic >>

Re: embedded or real-time project using Eiffel

by "Emmanuel Stapf [ES]" <manus_no_spam@[EMAIL PROTECTED] > Feb 26, 2008 at 10:03 AM

llothar wrote:
> On 20 Feb., 00:00, "Emmanuel Stapf [ES]"
> <manus_no_s...@[EMAIL PROTECTED]
> wrote:
>> I'm not sure what is not working with EiffelStudio in the area of
signal
>> handling as we do support signals, they are just transformed into
>> exceptions. And if you want to ignore a signal you have the
UNIX_SIGNALS
>> class for that (although called UNIX it works on Windows but with a
>> restricted set of signals).
> 
> Okay but is it possible to write signal handlers in eiffel?

At the moment, no because signals are mapped to exceptions. So if you 
want to program your code so that once the signal processing is done you 
simply continue the execution, then you need to design your Eiffel code 
with the proper set of rescue clauses that will help you achieve this.

> This is really expensive in many cases and impossible for a compiler
> to figure out
> so there has to be an annotation. It was not specified in Eiffel for
> one very simple reason: It was just not on the agenda.

I'm not sure what is expensive. The default should be `volatile' and 
then the optimization is to put things in register. Eiffel agenda is 
that of a coherent memory model where programmers don't get gotchas, so 
this is why the discussion doesn't need to take place.

> If i see how SCOOP took people in talking about things without any
> real programmers
> life relevance i know why the whole multithreading is not done well
> and why i had to patch my own smalleiffel version.

I'm not sure what SCOOP has to do with that, but EiffelStudio had a 
consistent multithreading implementation since it was first introduced 
in 1997. The model changed over the years but it is working great and 
many applications are benefiting from it.

Manu




 12 Posts in Topic:
embedded or real-time project using Eiffel
=?ISO-8859-15?Q?Daniel_Kl  2008-02-18 13:15:44 
Re: embedded or real-time project using Eiffel
"Emmanuel Stapf [ES]  2008-02-18 10:20:58 
Re: embedded or real-time project using Eiffel
llothar <llothar@[EMAI  2008-02-18 12:22:29 
Re: embedded or real-time project using Eiffel
llothar <llothar@[EMAI  2008-02-19 06:04:52 
Re: embedded or real-time project using Eiffel
llothar <llothar@[EMAI  2008-02-19 06:06:11 
Re: embedded or real-time project using Eiffel
"Emmanuel Stapf [ES]  2008-02-19 09:00:05 
Re: embedded or real-time project using Eiffel
llothar <llothar@[EMAI  2008-02-19 09:31:12 
Re: embedded or real-time project using Eiffel
"Emmanuel Stapf [ES]  2008-02-26 10:03:57 
Re: embedded or real-time project using Eiffel
llothar <llothar@[EMAI  2008-02-27 04:25:51 
Re: embedded or real-time project using Eiffel
Marco <prenom_nomus@[E  2008-03-08 03:53:58 
Re: embedded or real-time project using Eiffel
Andrew Reilly <andrew-  2008-02-19 05:04:35 
Re: embedded or real-time project using Eiffel
David Thompson <dave.t  2008-03-02 22:40:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:29:24 CDT 2008.