This fixes the unbuffered channel case:
isfull(ch::Channel) = begin
if ch.sz_max===0
isready(ch)
else
length(ch.data) ≥ ch.sz_max
end
end
This fixes the unbuffered channel case:
isfull(ch::Channel) = begin
if ch.sz_max===0
isready(ch)
else
length(ch.data) ≥ ch.sz_max
end
end