This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: [SMP]serious bug in synchronisation primitives
- From: sandeep <shimple0 at yahoo dot com>
- To: Nick Garnett <nickg at ecoscentric dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 29 Nov 2004 07:56:59 -0800 (PST)
- Subject: Re: [ECOS] [SMP]serious bug in synchronisation primitives
btw, looking at the end of compat-posix-tm_basic test, in function main, there
is code like
// Sanity
#ifdef WORKHORSE_TEST
ntest_threads = max(512, ntest_threads);
.....
#else
ntest_threads = max(64, ntest_threads);
.....
#endif
that means, in either of then/else case, previous assignments like
"ntest_threads = NTEST_THREADS;"
that set ntest_threads to user desired value (via NTEST_THREAD macro) become
effectless. rather giving any value to that macro becomes meaningless.
same is true for some other variables (and associated macros) there.
is this also some leftover of earlier debugging efforts?
sandeep
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss