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

Distinguish between size and capacity #140

Open
4 of 5 tasks
Ivan-Velickovic opened this issue Jul 2, 2024 · 0 comments
Open
4 of 5 tasks

Distinguish between size and capacity #140

Ivan-Velickovic opened this issue Jul 2, 2024 · 0 comments

Comments

@Ivan-Velickovic
Copy link
Collaborator

Ivan-Velickovic commented Jul 2, 2024

For the various device class queue APIs. We use 'size' in APIs such as net_queue_size to mean how many entries are in the queue right now. But, we also use size to mean the capacity of the queue.

This is confusing and so we should change the terminology in all of the device classes. We should update the sDDF design doc as well if necessary.

  • I2C
  • Serial
  • Network
  • Block
  • Sound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant