[LLVMdev] RFC: LLVM should require a working C++11 <thread>, <mutex>, and <atomic>

Óscar Fuentes ofv at wanadoo.es
Wed Sep 24 08:48:48 PDT 2014


David Chisnall <David.Chisnall at cl.cam.ac.uk> writes:

> <atomic> is trivial, as most of the support is provided by the
> compiler. As of Vista, Windows comes with some quite sane primitives
> for implementing <mutex> and <thread>, so it would only be 1-2 days of
> work for someone to write the implementation for libc++.

Forcing Clang to depend on libc++ makes things quite complicated for the
end user. For the Windows case, building Clang without cross-compiling
could be impossible, if it requires that libc++ must be compiled by
Clang.




More information about the llvm-dev mailing list