Skip to content

Fix #485 - add text to make clear that IDs are non-zero#486

Merged
astrogeco merged 1 commit intonasa:integration-candidatefrom
CDKnightNASA:fix-485-objid_gt_zero
Jun 17, 2020
Merged

Fix #485 - add text to make clear that IDs are non-zero#486
astrogeco merged 1 commit intonasa:integration-candidatefrom
CDKnightNASA:fix-485-objid_gt_zero

Conversation

@CDKnightNASA
Copy link
Contributor

Describe the contribution
Fix #485 - adds "non-zero" to the out variable description for OS_Create (and related) API's.

Contributor Info - All information REQUIRED for consideration of pull request
[email protected]

Copy link
Contributor

@jphickey jphickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Is there any sort of "main page" that this could be added to? It will also apply to any future osal ID types in the event that we add new ones someday.
It is also a design pattern that I recommend applying across all of CFE (app IDs, pipe IDs, message IDs, etc.). When zero'ed out memory aliases a real object, that's not good.

@skliper
Copy link
Contributor

skliper commented Jun 1, 2020

@CDKnightNASA CDKnightNASA marked this pull request as ready for review June 3, 2020 13:02
@CDKnightNASA CDKnightNASA added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Jun 3, 2020
@astrogeco astrogeco changed the title fix #485 - add text to make clear that IDs are non-zero Fix #485 - add text to make clear that IDs are non-zero Jun 3, 2020
@astrogeco
Copy link
Contributor

CCB-2020-06-03: APPROVED, @CDKnightNASA Open new ticket for osal pattern documentation

@astrogeco astrogeco added CCB-20200603 CCB:Approved Indicates code review and approval by community CCB and removed CCB:FastTrack CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Jun 3, 2020
@astrogeco astrogeco changed the base branch from master to integration-candidate June 16, 2020 20:28
@astrogeco astrogeco merged commit 96fcad7 into nasa:integration-candidate Jun 17, 2020
@skliper skliper added this to the 5.1.0 milestone Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:Approved Indicates code review and approval by community CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that OS_ObjCreate() Id of new obj is > 0

4 participants