Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mqueue, ubx-mq: fix issue caused by strictler cleanup
Using a strictler block cleanup policy caused the mqueues created by ubx-mq tool to be properly destructed, but in their cleanup they called mq_unlink which removed the queue. This adds a mqueue config `unlink` to defined whether the queue shall be removed or not (default yes). In addition, the ubx.node_cleanup is set as the default gc method for node instead of ubx.node_rm. This leaves the logging intact, which is desirable for the same reasons as above. ubx.node_rm can still be called explicitly (i.e. as done by blockdiagram:pulldown) when the main node is being destructed. Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
- Loading branch information
Showing
3 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters