On 31.01.2020 19:55, Christos Zoulas wrote: > In article <724af477-010b-9ddf-6ece-e23d7cf59...@gmx.com>, > Kamil Rytarowski <n...@gmx.com> wrote: >> -=-=-=-=-=- >> -=-=-=-=-=- >> >> On 31.01.2020 03:38, Christos Zoulas wrote: >>> And it is fixed now. >>> >>> christos >>> >> >> OK. I am going to submit a bug report upstream and get some feedback >> what is the way forward here, delaying initialization. > > I think that the way forward (on our side) is to do away with libpthread, > merge it with libc and kill all the stub nonsense. > > christos >
I was thinking about implementing custom mutexes inside jemalloc with futexes. A potential implementation could be really thin. There is just a problem that futexes still need some more time to land the sources. https://locklessinc.com/articles/mutex_cv_futex/ My thread: https://github.com/jemalloc/jemalloc/issues/1753 I have got no opinion on stubs and separated libpthread.
signature.asc
Description: OpenPGP digital signature