Re: [RFC] "single step" atomic instruction sequences as a whole on PPC

Ulrich Weigand
2007-05-09T19:10:05Z

Daniel Jacobowitz wrote:

> I hadn't thought about this case, of trying to step over a touchy
> atomic sequence; I don't see any way we could make it work if we let
> more than one thread run at once.

However, in particular when atomic sequences are involved, the
current thread might be trying to acquire a lock held by another
thread. If we keep running just the one thread, it'll never
get the lock ...

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com