This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hack to get sysinfo initialized


>>>>> On Thu, 30 Jan 2003 08:53:22 -0800, Ulrich Drepper <drepper@redhat.com> said:

  Uli> David Mosberger wrote:
  >> --- linuxthreads/manager.c	12 Jan 2003 08:42:38 -0000	1.90
  >> +++ linuxthreads/manager.c	30 Jan 2003 06:28:23 -0000
  >> @@ -645,6 +666,8 @@
  >> #endif
  >> new_thread-> p_header.data.self = new_thread;
  >> new_thread-> p_header.data.multiple_threads = 1;
  >> +  /* XXX why isn't this done already??? */
  >> +  new_thread->p_header.data.sysinfo = GL(dl_sysinfo);

  Uli> Very simple: because there is no support fpr dl_sysinfo in LinuxThreads.

Is there a problem that prevents this from working properly ever?  The
few hacks I put in seem to work fine at least for "make check" and for
bootstrapping a machine.  (In the longer term it shouldn't matter
much, as soon enough we'll be using NPTL, but in the meantime, it is
nice to be able to test with the new syscall stuff without having to
switch to a different threading library.)

	--david


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]