This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Threading on EDB7211


Dear All,

Thread switching is not working.
I am using an off-the-shelf configuration for ARM EDB7111-2, with the
GDB_module stub on the board.
Specifically, I tested with lcd_test.c, and kthread1.c.
Only the first thread (in cyg_thread_create() calling order) is ever executed.
A call to cyg_thread_delay() blocks, and cyg_thread_yield() does not cause
rescheduling.
Fidgeting with priorities does not help, either.
Generally, single-thread code works.
Must be that thread switching stays disabled in eCos, but since I am using
a "standard" configuration, I would like to have a second opinion before
embarking on a deep dive.

Thank you,
Alfredo

************************************************************************
Alfredo Knecht       Fax  ++41 91 610 8970          Tel ++41 91 610 8960
SUPSI-ICIMSI         aknecht@cimsi.cim.ch        http://www.cimsi.cim.ch

Istituto CIM della Svizzera italiana              CH-6928 Manno (Lugano)
************************************************************************

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