Cannot find new threads: generic error

Daniel Jacobowitz drow@false.org
Sun Aug 31 14:07:00 GMT 2008


On Fri, Aug 29, 2008 at 05:43:38PM -0700, Paul Pluzhnikov wrote:
> If you do that on Linux, you should expect all kinds of trouble,
> because e.g. glibc very early on decides whether pthreads are
> present, and permanently switches to thread-unsafe behavior if they
> are not.

I'm pretty sure that's not correct.  It checks at each runtime spot,
not initialization time - a lot of the complexity in glibc is to
support this.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list