[llvm-commits] [LLVMdev] [RFC] "noclone" function attribute

Tim Northover t.p.northover at gmail.com
Thu Dec 6 08:50:15 PST 2012


> What begins to worry me a bit here, is that I'm no longer sure what "same
> barrier" means.  Do we have a certainty exactly what problem we are trying
> to solve?  Is a barrier "the same" only if it has been reached through the
> same call chain from the moment the threads were created?

The issue appears very similar to the old dynamic vs lexical scoping
of variables. And being honest I have just as much distaste for for
context-sensitive barriers as I do for dynamic scoping.

But apparently there are good efficiency reasons for putting this
burden on the programmer so it'll probably stick (in whatever form).
:-(.

Tim.



More information about the llvm-commits mailing list