This is the mail archive of the ecos-discuss@sources.redhat.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] |
Other format: | [Raw text] |
On Wed, Apr 02, 2003 at 10:52:02AM +0200, Koeller, T. wrote:
Hi all,
I have a question about the watchdog.cdl file located in io/watchdog/current/cdl/watchdog.cdl:
The interface CYGINT_WATCHDOG_IMPLEMENTATIONS has a 'requires 1 == CYGINT_WATCHDOG_IMPLEMENTATIONS' constraint. I would have expected to find this constraint at the package level (since it is the package as a whole that requires exactly one implementation), not with the interface itself.
Im not a CDL expert....
I don't think it makes a difference if the requires is inside the interface declaration or at the top of the package declaration. I think keeping it all together inside the interface declaration makes it easier to read, but thats a personal opinion.
Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --[ "You can complain because roses have thorns, or you ]-- --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |