[libcxx patch] Fix thread.thread.id/lt.pass.cpp to not assume thread::id() produces a minimal value

Howard Hinnant howard.hinnant at gmail.com
Tue Feb 4 11:57:39 PST 2014


Committed revision 200793.

Sorry for the unreasonable delay.

Howard

On Dec 31, 2013, at 7:52 AM, Albert Wong (王重傑) <ajwong at google.com> wrote:

> Hello Howard,
> 
> thread.thread.id/lt.pass.cpp failed on the android arm build because pthread_t is signed meaning that thread::id() doesn't always produces the minimal possible value in the range of ids.
> 
> I've updated the test to be more permissive of having an underlying value that is signed. Let me know what you think.
> 
> Thanks,
> Albert
> <thread_lt.patch>





More information about the cfe-commits mailing list