This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
flags question
- From: Will Wagner <will_wagner at carallon dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 24 Nov 2005 15:35:45 +0000
- Subject: [ECOS] flags question
I have a question about the flags code in the kernel.
I am using the bsd network stack and am running with asserts enabled.
Very occasionally I hit the assert on line 180 of flag.cxx
CYG_ASSERT( 0 == p->value_out, "Thread already awoken?" );
The only code that uses flags is the network alarm thread.
Has anyone encountered this before? It seems to only occur after the
scheduler has been locked out for a reasonable period. Presumably there
is some issue with the two DSR's occurring one after the other without
the thread getting a chance to run?
Anyone able to suggest what is going wrong here?
Many thanks,
Will
--
------------------------------------------------------------------------
Will Wagner will_wagner@carallon.com
Senior Project Engineer Office Tel: 0207 371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss