Feoramund
8a14a656fb
Fix chan.can_send for unbuffered channels
...
`w_waiting` is the signal that says a caller is waiting to be able to
send something. It is incremented upon send and - in the case of an
unbuffered channel - it can only hold one message.
Therefore, check that `w_waiting` is zero instead.
2024-09-10 14:52:20 -04:00
..
2024-09-10 14:52:20 -04:00
2024-07-30 19:13:35 +11:00
2024-09-03 19:59:04 +02:00
2024-09-10 14:52:20 -04:00
2024-09-10 14:52:20 -04:00
2024-09-10 14:52:20 -04:00
2024-08-04 10:51:08 +01:00
2024-09-10 14:52:20 -04:00
2024-09-10 14:52:20 -04:00
2024-09-10 14:52:20 -04:00
2024-09-10 14:52:20 -04:00
2024-01-17 17:25:23 +00:00
2024-09-10 14:52:20 -04:00
2024-01-28 22:40:46 +00:00
2022-07-18 15:20:28 +01:00
2024-02-26 07:59:53 +01:00
2023-01-23 09:29:39 +00:00
2023-10-27 10:51:21 +11:00
2024-06-05 11:06:14 +02:00
2023-05-25 12:17:39 +01:00
2023-04-20 12:02:32 +01:00
2022-12-08 15:55:53 +00:00
2024-09-10 14:52:20 -04:00
2024-03-01 11:31:13 +00:00