Re: Where to put TEB's on PPC?[was:Re: is WINE portable?]

2000-12-08 Thread Gavriel State
Josh DuBois wrote: In a discussion about threading in November (I pasted in part of an interesting post down below) on this list someone gave a brief explanation of why pthreads aren't used. From things like that that I've found on the archive I assumed pthreads wasn't feasible. It seems

Re: Where to put TEB's on PPC?[was:Re: is WINE portable?]

2000-12-08 Thread Alexandre Julliard
Josh DuBois [EMAIL PROTECTED] writes: Can pthreads in fact be used on linuxppc? It should be possible to make pthreads work yes; at least I don't think there is a fundamental issue that will make this impossible. The performance may not be optimal, and there may be a few issues that will

Re: Where to put TEB's on PPC?[was:Re: is WINE portable?]

2000-12-07 Thread Alexandre Julliard
Josh DuBois [EMAIL PROTECTED] writes: My first question to the group is: does anyone know of a good place to put the TEB thread-info structures on the PPC architecture? On Intel they get stored in the fs register, and on non-intel sparc there's some thread-local storage pointer the OS

Re: Where to put TEB's on PPC?[was:Re: is WINE portable?]

2000-12-07 Thread Gavriel State
Josh DuBois wrote: My first question to the group is: does anyone know of a good place to put the TEB thread-info structures on the PPC architecture? On Intel they get stored in the fs register, and on non-intel sparc there's some thread-local storage pointer the OS gives you. It

Re: Where to put TEB's on PPC?[was:Re: is WINE portable?]

2000-12-07 Thread Josh DuBois
Gavriel State wrote: Josh DuBois wrote: Is there really any reason not to just use pthread directly? We're not constrained by binary compatability issues on LinuxPPC (or MacOS X), so there's no need to preserve any special registers. newbie Well, really I don't know. In a