This is the mail archive of the
mailing list for the elfutils project.
Re: [tests patchv2] FYI unwinder: tests/ update
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 02 Dec 2013 19:58:39 +0100
- Subject: Re: [tests patchv2] FYI unwinder: tests/ update
On Mon, 02 Dec 2013 10:34:00 +0100, Mark Wielaard wrote:
> Note that the documentation of pthread_create doesn't say whether or not
> it will set errno. It returns either zero for success or the error code
man 7 pthreads
Pthreads function return values
Most pthreads functions return 0 on success, and an error number of
failure. Note that the pthreads functions do not set errno.
> I would just remove the assert_perror (errno) here and see if that gets
> rid of the random unexpected errors. The assert (i == 0) should remain
> of course.
I was aware that would fix it but now I have at least found why.