tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [RFC][PATCH] _UC_TLSBASE for all ports


> On Fri, Aug 10, 2012 at 07:31:59PM +0200, Emmanuel Dreyfus wrote:
>> Joerg Sonnenberger <> wrote:
>> > I maintain that trying to move contexts between threads is an inherently
>> > bad idea and that it is a very inefficient interface for implementing
>> > coroutines. I object to this change for the sake of misdesigned
>> > software.
>> Did you look at that test case? This is a nasty bug, and I think we need
>> a way for user to opt out of that behavior.
> I don't agree with it being a nasty bug. Heck, document it as limitation
> if you want. But essentially don't mix *context and pthread in this way,
> it will create other interesting issues later.

what's the motivation to keep the limitation?

the current bahaviour would benefit applications which use i386 %gs register
for their own purposes.  is it your concern?


> Joerg

Home | Main Index | Thread Index | Old Index