|
From: Jeremy F. <je...@go...> - 2005-01-10 16:45:57
|
On Mon, 2005-01-10 at 10:17 +0000, Tom Hughes wrote: > In message <yek...@au...> > Tom Hughes <th...@cy...> wrote: > > > - RH72 and RH73 hang in corecheck/tests/pth_atfork1 > > > > - RH80 hangs in corecheck/tests/pth_cancel1 > > The RH80 hang is LDT related, and I suspect the other one is the > same but I haven't checked it. I assume this is the problem that > you were talking about Jeremy? > > The problem is that the LDT needs to be copied from the parent > thread when a child is created. That is done by VGA_(setup_child) > but that is no longer being called. > > If you change do_clone() and add this line just before the > code to handle SETTLS then it should work: > > VGA_(setup_child)(&ctst->arch, &ptst->arch); Oh, good. For completely correctness, shouldn't they be shared? If one thread later uses an LDT-changing call, should that be reflected in the other threads? J |