> On 10 May 2019, at 14:57, Jonathan Wakely <jwakely....@gmail.com> wrote: > > Resending as plaint text so the lists don't reject it … >
>> In order to test what it should, we'd need to use an alternate test >> function that does not strip off one indirection level from >> native_handle_type, if the test is to remain. >> > > Or just adapt the current test to work for the std::thread case too, by > only removing the pointer when we know we need to remove it, as in the > attached patch. Does this work on targets using a pointer type for > pthread_t? this will fix PR81266, if so, will add to my next run. Iain