Skip to content
Commit 1a3bb3fd authored by Christopher Friedt's avatar Christopher Friedt Committed by Chris Friedt
Browse files

posix: mqmeue: do not return NULL after pthread_exit()



pthread_exit() does not return and therefore it does not make
sense to return NULL after it in mq_notify_thread(), and that
would constitute dead code.

Rather than explicitly exiting the thread, simply return
gracefully from the thread function, and allow the pthread to
terminate in the usual way.

Signed-off-by: default avatarChristopher Friedt <cfriedt@meta.com>
parent 9d1df132
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment