~mapreri/libeatmydata/1556410

  • Committer: Mattia Rizzolo
  • Date: 2016-03-12 11:39:55 UTC
  • Revision ID: mattia@mapreri.org-20160312113955-wwbzwxlzrfaaftfr
Use a weak reference to pthread_testcancel, so that it's called only if the program itself pulls libpthread

This avoid an hard link on pthread.

libeatmydata is linked against libpthread. This thus pulls libpthread
in all processes run under eatmydata. It happens that having
libpthread in a process makes pthread_mutex_lock() and all such basic
performance-sensitive operations much heavier (since they then have to
deal with potential multithreading). This avoids that by using a weak reference
to pthread_testcancel, so that pthread_testcancel is called only if the program
itself pulls libpthread.

LP: #1556410
Filename Latest Rev Last Changed Committer Comment Size
..
File autorun.sh 54 11 years ago Stewart Smith merge pandora update 3.9 KB Diff Download File
File config.rpath 17 14 years ago Stewart Smith merge pandora-build, minimal configure.ac and Make 17.9 KB Diff Download File
lcov.am 16.4.1 13 years ago Monty Taylor Updated pandora-build files to version 0.176 1.3 KB Diff Download File
uncrustify.cfg 17 14 years ago Stewart Smith merge pandora-build, minimal configure.ac and Make 46.8 KB Diff Download File