文件名称:Threads Cannot be Implemented as a Library
文件大小:166KB
文件格式:PDF
更新时间:2017-05-20 05:34:18
Thread Library
In many environments, multi-threaded code is written in a language that was originally designed without thread support (e.g. C), to which a library of threading primitives was subsequently added. There appears to be a general understanding that this is not the right approach. We provide specific arguments that a pure library approach, in which the compiler is designed independently of threading issues, cannot guarantee correctness of the resulting code.