Skip to content

Conversation

@haiyuewa
Copy link
Contributor

As 1 explained, the real debug message will be like:
"res operator(): operator() : queue result stop"

Set the name explicitly, the message is easy for debugging:
"res operator(): recv : queue result stop"

The left "operator()" is generated by 'RES_DBG() ... func'

Make sure to read the contributing guidelines before submitting a PR

As [1] explained, the real debug message will be like:
	"res    operator(): operator() : queue result stop"

Set the name explicitly, the message is easy for debugging:
	"res    operator(): recv : queue result stop"

The left "operator()" is generated by 'RES_DBG() ... __func__'

[1]: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/lambda-function-name.html

Signed-off-by: Haiyue Wang <haiyuewa@163.com>
@ngxson ngxson merged commit 8c32d9d into ggml-org:master Nov 29, 2025
71 of 74 checks passed
@haiyuewa haiyuewa deleted the set-the-function-name-in-lambda branch November 30, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants