When clearing the wait channel also clear the wait message.
authorclaudio <claudio@openbsd.org>
Wed, 22 May 2024 09:24:11 +0000 (09:24 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 22 May 2024 09:24:11 +0000 (09:24 +0000)
commitedddd55a3e8317b9e3fe2f3551a9d21da4cc8e58
tree6f50c8a739fb2ac3770f3188261bdbab8f5f0da2
parent31342e3c5e18ba2454a13af522497b4e46fcc549
When clearing the wait channel also clear the wait message.

There is no reason to keep the wait message in place since it will
never show up even in ddb show proc output.
OK jca@
sys/kern/kern_synch.c