On Wednesday, May 20, 2015 02:26:18 PM Xin Li wrote:
> I think we should also assert that no waiter remains when a conditional
> variable is destroyed (which also suggests that the memory may be freed
> shortly).  Otherwise we would either have modify after free or lost wakeups.

We already assert for this.  That is what the call to sleepq_lookup() is
checking for.  If there are any sleepers then there will be a sleepq
allocated for this cvp.

-- 
John Baldwin
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to