Peter Dimov wrote:
Vladimir Prus wrote:
Peter Dimov wrote:
None (if you are sure that this is what assert does, of course - this is platform specific), except that the asserts should not fire. So spending time and effort to make something happen when the asserts fire is not productive.
I disagree. Here, two people report that they got assertion failures. Good, but we have no idea why. If there were additional diagnostic, we'd knew the exact system error which was reported.
Hm.
Thorsten Froehlich reports that on Mac OS X pthread_join on a thread that has completed returns EINVAL. He is given a lecture on pthread_join. Nobody with Mac OS X access bothers to investigate, at least not visibly. <snip>
Well, if anyone would care to compile and run the following program on
Mac OS X using pthreads, we can at least tell whether there is a
consistent failure:
// BEGIN
#include