[cfe-dev] [libcxx] A few questions about external threading support

Liu Hao via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 29 21:32:01 PDT 2017


On 2017/3/30 3:38, Eric Fiselier wrote:
> All callers of `__libcpp_foo_trylock()` functions return bool so it made
> more sense to convert the return value to bool once inside the
> `__threading_support` interface rather than at each callsite. I'm not
> sure what incompatibility this causes since the callers should have been
> updated too.
Thanks for your reply.

At the moment I have no idea how many external threading implementations 
there are, but they will ultimately be broken once the trunk version is 
released.

> However changing it now would require an ABI break, which is unfortunate
> but not insurmountable.
Err, true, but the trylock thing is already a break isn'it?

-- 
Best regards,
LH_Mouse




More information about the cfe-dev mailing list