Community
Participate
Working Groups
Build Identifier: 3.22 All Gate providers inherit the CDOC for enter and leave from IGateProvider. The inherited 'enter' CDOC is too esoteric. Needs to be simplified (like the 'leave' description). Perhaps the existing 'enter' description can be moved into the IGateProvider module description. Reproducible: Always
Quote from Mark Grosen: "I was reviewing some code and was looking at “gates”. In ti.sysbios.gates, there are 6 different Gate variants. What I found lacking in the CDOC for these was the missing descriptions for the key methods: enter() and leave(). There is no function description for these nor is there a link to IGateProvider, leaving me wondering how to use these modules. Suggestions? (BTW, even when I get to IGateProvider, as a run-of-the-mill C programmer, I am left confused as to what exactly I should call.)" A bug in the spec files for all ti.sysbios.gates accidentally nodoc'd enter/exit. However, per Mark's parenthetical remark in the last line above, even after fixing the nodoc problem, the generic 'enter' CDOC inherited from IGateProvider is still not sufficient for a user to know how/when to use the API.