DragonFly commits List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/sys tls.h src/lib/libc/gen tls.c src/lib/libthread_xu/arch/amd64/amd64 pthread_md.c src/lib/libthread_xu/arch/i386/i386 pthread_md.c src/libexec/rtld-elf rtld.c rtld.h rtld_tls.h src/libexec/rtld-elf/i386 reloc.c
:It should be optional (based on the platform), since some platforms
:need / want it and some don't. We need that pointer for both methods
:on IA32, on platforms with a normal pointer as thread register we don't
:need it at all.
:
:This is not about
:__thread int a;
:
:testfunc()
:{
: a = 1;
:}
:
:but about
:int *testfunc()
:{
: return &a;
:}
:
:The conditional allows us to support both styles in MI code. Let me finish
:my patchset to show what I mean.
:
:Joerg
I don't understand what you mean. Why are you making it a conditional
field rather then a mandatory field? It costs us nothing to have that
field there.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]