public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] FW: Questions about dsr?
@ 2003-04-17  7:34 Retallack, Mark (Poole)
  0 siblings, 0 replies; 3+ messages in thread
From: Retallack, Mark (Poole) @ 2003-04-17  7:34 UTC (permalink / raw)
  To: 'Wang.Alvin@iac.com.tw'; +Cc: 'ecos-discuss@sources.redhat.com'


[-- Attachment #1.1: Type: text/plain, Size: 1275 bytes --]

DSR's cannot block. (We learnt the hard way after a very strange crash and
not reading the documentation). A DSR is just a delayed ISR, so you don't
want to be doing to much in a DSR that cannot be done in a thread. 
 
 -----Original Message-----
From: Wang.Alvin@iac.com.tw [mailto:Wang.Alvin@iac.com.tw]
Sent: 17 April 2003 05:11
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] FW: Questions about dsr?




Hi to all, 

I have some questions about DSR as following… 

1.Can DSR waits on semphore? 
2.If one DSR is blocked, can kernel switch to another DSR? 

Thank you for answering these question. 

Alvin Wang 



Siemens Traffic Controls is a division of Siemens plc. Registered No.
727817, England. 
Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. 

This communication contains information which is confidential and 
may also be privileged. It is for the exclusive use of the addressee. 
If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication 
or the information in it is prohibited.  If you have received this 
communication in error, please contact us immediately and also 
delete the communication from your computer. 



[-- Attachment #1.2: Type: text/html, Size: 2946 bytes --]

[-- Attachment #2: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] FW: Questions about dsr?
  2003-04-17  4:11 Wang.Alvin
@ 2003-04-17 12:30 ` Bart Veer
  0 siblings, 0 replies; 3+ messages in thread
From: Bart Veer @ 2003-04-17 12:30 UTC (permalink / raw)
  To: Wang.Alvin; +Cc: ecos-discuss

>>>>> "Alvin" ==   <Wang.Alvin@iac.com.tw> writes:

    >> Hi to all,
    >> 
    >> I have some questions about DSR as following
    >>
    >> 1.Can DSR waits on semphore?

No.

    >> 2.If one DSR is blocked, can kernel switch to another DSR?

No. A DSR must run to completion before the next DSR is run, or before
control returns to a thread, although interrupts are allowed while a
DSR is running.

For more information see the kernel documentation,
http://sources.redhat.com/ecos/docs-latest/ref/kernel-overview.html
especially the sections on "Threads and Interrupt Handling" and
"Calling Contexts".

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] FW: Questions about dsr?
@ 2003-04-17  4:11 Wang.Alvin
  2003-04-17 12:30 ` Bart Veer
  0 siblings, 1 reply; 3+ messages in thread
From: Wang.Alvin @ 2003-04-17  4:11 UTC (permalink / raw)
  To: ecos-discuss


[-- Attachment #1.1: Type: text/plain, Size: 235 bytes --]



> Hi to all,
> 
> I have some questions about DSR as following…
> 
> 1.Can DSR waits on semphore?
> 2.If one DSR is blocked, can kernel switch to another DSR?
> 
> Thank you for answering these question.
> 
> Alvin Wang

[-- Attachment #1.2: Type: text/html, Size: 1059 bytes --]

[-- Attachment #2: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-17 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17  7:34 [ECOS] FW: Questions about dsr? Retallack, Mark (Poole)
  -- strict thread matches above, loose matches on Subject: below --
2003-04-17  4:11 Wang.Alvin
2003-04-17 12:30 ` Bart Veer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).