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]

ECOS: fatal error!


Hi,everyone!
    as you know,scheduler::lock()/unlock() can't settle down race conditions for mutithread accessing scheduler's data structure,such as threadQueue.
  for example, current thread was accessing thread queue(add_thread_to_list())with lock() taking  when a interrup occurs,this interrupt also accessing threadqueue,so race condition for thread queue occurs,because lock(0/unlock()simply
 do "schedLock++/--",it can't resolve this BIG problem!
  Right?

                                                   zhlg 
______________________________________

===================================================================
新浪免费电子邮箱 (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]