8000 signal_callback should return an error when ring buf full · Issue #1817 · intel/zephyr.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
signal_callback should return an error when ring buf full #1817
@grgustaf

Description

@grgustaf

When the ring buffer is too full, signalling a callback fails. To behave correctly, the caller should probably find out this and even though it's a pretty bad error, they can avoid making things worse by freeing up resources.

So probably the return value should be changed to something other than void and all callsites checked for proper error handling.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0