hack to get sysinfo initialized
David Mosberger
davidm@napali.hpl.hp.com
Thu Jan 30 16:59:00 GMT 2003
>>>>> 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
More information about the Libc-hacker
mailing list