This is the mail archive of the ecos-cvs@sourceware.org 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/packages/kernel/current ChangeLog src/com ...


CVSROOT:	/cvs/ecos
Module name:	ecos
Changes by:	nickg@sourceware.org	2006-01-19 17:53:58

Modified files:
	packages/kernel/current: ChangeLog 
	packages/kernel/current/src/common: thread.cxx 
	packages/kernel/current/src/sched: sched.cxx 

Log message:
	* src/sched/sched.cxx (thread_entry): Fixed a bug which could
	cause a thread to be started with a non-zero scheduler lock. The
	previous code only decremented it by 1 so if the previous thread
	was executing with the lock > 1 the thread ended up with a
	non-zero lock. This is fixed by decrementing the lock in a loop
	until it reaches zero.
	
	* src/common/thread.cxx (idle_thread_main): Added an assert for a
	non-zero scheduler lock.


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