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

> Having a thread to grab the stack of another one is harmless,

...huh?  I'd expect it to be pretty catastrohpic for two threads to be
trying to use the same piece of RAM as stack: whichever of them has a
deeper stack will find its stack's contents changing out from under it
whenever the other one runs.

Or are we talking a strictly cooperative multitasking model in which a
thread's stack must be empty (or at least at some fixed depth) when it

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index