https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198216

--- Comment #5 from John Baldwin <[email protected]> ---
I think warning about double destroys is a feature not a bug though.  Yes, it
is racy, but only for broken applications.  A correctly written application
will never get a spurious error from the EBUSY or is-destroyed checks for
either mutexes or condvars.  A buggy application might get them and might not,
but in the case that it does get them it is helpful.

I put gtk into the buggy application category btw.  It's not just mutexes
either, running any gtk/qt program on the console spews a ton of failed
assertion warnings.  Removing these checks would only make a small dent in the
torrent of messages, but would remove checks that are helpful for other people
who do check errors instead of ignoring them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to