Re: pthread malloc

Felix von Leitner <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> Hi!  I added pthread support for alloc.
> Now all [__libc_]{malloc|realloc|calloc|free}
> are thread safe.  Actually I modified only malloc and free.
> This make them with 20-30 bytes bigger.

dietlibc malloc _is_ thread safe.
See libpthread/pthread_sys_alloc.c

Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.