This is the mail archive of the ecos-bugs@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]

[Bug 1001253] Kernel tests on small memory targets


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001253

--- Comment #23 from Ilija Kocho <ilijak@siva.com.mk> 2011-07-05 18:25:26 BST ---
(In reply to comment #22)
> (In reply to comment #20)
> 
> > To me both are obvious. I think it is not necessary explaining max to eCos
> > programmer :)
> > 
> > > #ifndef max
> > > #define max(X,Y) ((X) > (Y) ? (X) : (Y))
> > > #endif
> 
> No, this is not explanation :-) This is a *reminder* that such a check and
> definition should be *above* its usage. FYI: there is the same definition
> for min() in the test.
> 

I meant complete max() definition. Kind of explains what

#define NTEST_THREADS \
  (__NTEST_THREADS >= NTEST_2_THR ? __NTEST_THREADS : NTEST_2_THR)

does.

> Then I did correct myself (comment 18) and offer N_THREADS_AVAIL for
> naming.

Yeah, i saw it but too late, sorry.

> > 
> > NTEST_2_THR was intended to mean constant 2. If you don't like it we
> > can keep the original (bare 2).
> 
> As for me "bare 2" is preferred there.

Set.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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