mq_notify: join worker thread before returning in error path
authorRich Felker <dalias@aerifal.cx>
Sun, 12 Feb 2023 00:09:53 +0000 (19:09 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 12 Feb 2023 20:05:38 +0000 (15:05 -0500)
commit711673ee772e20a74aaf301c2d7745c20c4f4d47
tree6ee7a2e70cc9b3156942f1aec5240a32c22d73f1
parent8c0c9c69a12acc0a82590d4fd64cf633ff1dedd2
mq_notify: join worker thread before returning in error path

this avoids leaving behind transient resource consumption whose
cleanup is subject to scheduling behavior.
src/mq/mq_notify.c