Differences in pthread behaviour glibc/uClibc

Ralf Ertzinger uclibc at camperquake.de
Tue May 30 16:09:47 UTC 2006


Hi.

On Tue, 30 May 2006 16:11:21 +0200, Ralf Ertzinger wrote:

> > Ralf could you try to replace execve(...)  by if (!vfork())
> > execve(...)?
> 
> That works, at least under uClibc. I think that may be sufficient
> as a workaround.

On the other hand...
asterisk uses execvp() to restart itself, so the solution above is
prone to several races for system resources (files, sockets and
so forth). I admit that this was not visible from my initial post.



More information about the uClibc mailing list