[uClibc] problem with pthread_manager

Thomas Eschenbacher Thomas.Eschenbacher at gmx.de
Wed Jun 30 05:28:57 UTC 2004


Alexandre Oliva wrote:
> On Jun 24, 2004, Thomas Eschenbacher <Thomas.Eschenbacher at gmx.de> wrote:
> 
>>Well, but our system is not using a "init" program, it is started
>>directly *instead* of the init process, there is no "init".
> 
> Aha!
> 
>>What should I do now?
> 
> An easy way out I can think of is to use a wrapper program as init,
> that vfork()s and exec()s the real thing.

I tried with starting my program from a shell (sash from uclinux dist),
but with no effect. It still seems to get ppid of zero!? Is this a known
problem of uclinux?

I wonder how anyone can use pthreads under uclinux when it behaves
this way...

Thomas



More information about the uClibc mailing list