Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtizonia: Deprecate tiz_krn_select and friends #32

Closed
juanrubio opened this issue Mar 30, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@juanrubio
Copy link
Collaborator

commented Mar 30, 2014

Friends are:
TIZ_PD_ZERO
TIZ_PD_SET
TIZ_PD_CLR
TIZ_PD_ISSET

'tiz_krn_select' was being used to learn which ports had buffers available to be "claimed" by the processor object. Then if buffers were available to be claimed, 'tiz_krn_claim_buffer' had to be used to actually receive them.

The dual api workflow can in practice be simplified to use one api only, that is using 'tiz_krn_claim_buffer' plus a check to see if this function returned a non-null header (previously it was guaranteed non-null pointer since 'tiz_krn_select' was being used prior to 'tiz_krn_claim_buffer' ).

'tiz_krn_select' won't be deleted just yet. Further analysis needed to understand if there is a use case for this api.

@juanrubio juanrubio added this to the OpenMAX IL 0.1.0 milestone Mar 30, 2014

@juanrubio juanrubio added the bug label Mar 30, 2014

@juanrubio juanrubio self-assigned this Mar 30, 2014

@juanrubio juanrubio closed this in ca030d1 Mar 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.