how to remove pthread mutex dependency in jemalloc

Justin Lebar justin.lebar at gmail.com
Thu Sep 13 10:35:42 PDT 2012


> I have a system that have no thread, and usage of the jemalloc are per
> process only.

I don't think jemalloc is designed for this situation.  Indeed, much
of the complexity in jemalloc is around making it fast in a threaded
environment.

It sounds like jemalloc may be the wrong tool for you to use.

On Thu, Sep 13, 2012 at 1:23 PM, zhu qun-ying <qunying at yahoo.com> wrote:
> Hi,
>
> I have a system that have no thread, and usage of the jemalloc are per
> process only.  I don't see anything in the library that I could turn off the
> usage of pthread mutex easily without heavily modified the library which I
> am afraid I may break something along the way.
>
> Would you point me to the direction of safely remove any dependency on
> pthread and mutex in the code?
>
> Thanks
>
> --
> qun-ying
>
> _______________________________________________
> jemalloc-discuss mailing list
> jemalloc-discuss at canonware.com
> http://www.canonware.com/mailman/listinfo/jemalloc-discuss
>



More information about the jemalloc-discuss mailing list