> > You should be guaranteed that the queues are empty (length 0) by the
> > time you get there (because anyone on the queue would hold a ref to the
> > sock).  But it wouldn't hurt to have an assert in connq_destroy.
> 
> Wouldn't it be more logical to have that assertion in sock_free?

It could be argued both ways, but since the structure contents are only
visible inside connq.c, that's where it must go.


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to