4 ms·
Yes. Is there something wrong with that? If your program links pthread_create() then cosmo creates a dlmalloc arena for each core on your computer and uses sche
by jart 2y ago
Yes. Is there something wrong with that? If your program links pthread_create() then cosmo creates a dlmalloc arena for each core on your computer and uses sched_getcpu() to index them combined with raw nsync locks.
- senderista 2y agoI thought that’s pretty much what ptmalloc did (glibc malloc is forked ptmalloc3)?