Jemalloc under CYGWIN
Yucong Sun
sunyucong@gmail.com
Fri Oct 16 15:57:00 GMT 2015
Hi,
Throught some frustrating and furious debugging I now understand the
core issue here. CYGWIN calls malloc provided by jemalloc during
initializations, which in turn calls pthreads functions, which in
turn uses malloc, which also uses pthreads, causing a deadlock.
Now, is there anyway to workaround this issue?
On Wed, Oct 7, 2015 at 7:17 PM, Yucong Sun <sunyucong@gmail.com> wrote:
> Hi there,
>
> I'm trying to make jemalloc work with CYGWIN. and I've been meeting
> with a mysterious deadlock issue on startup (from CYGWIN's
> malloc-wrapper to jemalloc and pthread_mutex_lock get deadlock).
>
> Has anyone else tried this?
>
> Thanks
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list