This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: ecos questions:kill safty


Sir,thank you for your fast writing back!
    with Iztok's and your  help,I have grasped mainly eCos sheduler and this let me believe ecos  sheduler advantage over other RTOS.In theory,eCos sheduler maybe  difective,but in fact,it will more efficient by carefully app. design ! I  will use it!
    thank you for your work! and thank your team! 
by the way,  algorithm of finding a higher priority thread in ready queue may be modified so time-cost of each finding  at any condition is same.

                                                      zhlg
----- Original Message -----
From:Nick Garnett <nickg@calivar.demon.co.uk>
To:zhlg_shuhan <zhlg_shuhan@sina.com>
Subject:Re: [ECOS] ecos questions:kill safty
Date:Thu, 27 Jun 2002 17:21:24 +0800
 >Please always CC messages to the ecos-discuss list. This way others
 >may benefit from the discussion, and the messages will also be
 >archived for future readers.
 >
 >zhlg_shuhan <zhlg_shuhan@sina.com> writes:
 >
 >> Sir,thank your answer!
 >>    can I call  some functions just like sem::post() in my ISR/DSR?
 >> if I can,race condition may be occur! because these function(post() etc.)will access scheduler::queue,which is accessing by a thread interrupted by current ISR/DSR.
 >> right?
 >
 >You cannot call any functions that interact with the kernel from an
 >ISR. Instead the ISR may ask for the DSR to be run, which can then
 >make the call. DSRs are only run when the scheduler is in a consistent
 >state and it is safe to make any further calls.
 >
 >Several people have already answered this question for you on the
 >list. It is also covered extensively in the documentations. I suggest
 >you read it.
 >
 >-- 
 >Nick Garnett - eCos Kernel Architect
 >
 >
 >

______________________________________

===================================================================
新浪免费电子邮箱 (http://mail.sina.com.cn)
新浪分类信息:二手市场走一走,该出手时就出手! (http://classad.sina.com.cn/2shou/)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]