~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
..
config 17 14 years ago Stewart Smith merge pandora-build, minimal configure.ac and Make Diff
debian 65.1.1 11 years ago Alexey Bychko added deb and rpm build files Diff
docs 20.1.4 14 years ago Monty Taylor Added in missing quickly files. Diff
libeatmydata 20.1.4 14 years ago Monty Taylor Added in missing quickly files. Diff
m4 17 14 years ago Stewart Smith merge pandora-build, minimal configure.ac and Make Diff
.bzrignore 19 14 years ago Stewart Smith add missing pandora m4 files 152 bytes Diff Download File
.quickly 54 11 years ago Stewart Smith merge pandora update 111 bytes Diff Download File
AUTHORS 101 9 years ago Stewart Smith update AUTHORS 732 bytes Diff Download File
File build_emd_rpm.sh 70 11 years ago Stewart Smith remove whitespace in build_emd_rpm.sh 2.1 KB Diff Download File
configure.ac 105 9 years ago Stewart Smith tag version 105 1.2 KB Diff Download File
COPYING 23 14 years ago Stewart Smith use standard COPYING file for license info 34.3 KB Diff Download File
eatmydata.in 103 9 years ago Stewart Smith Fix multiarch issue Debian bug: https://bugs.debi 1.3 KB Diff Download File
eatmydata.sh.in 104 9 years ago Stewart Smith Fix executable-not-elf-or-script lintian warning 2.1 KB Diff Download File
fsynctest.result 5 16 years ago Stewart Smith fixup wrapping of open(2) and testcase 97 bytes Diff Download File
libeatmydata.spec.in 87 10 years ago Stewart Smith Update SPEC file to meet Fedora packaging guidelin 1.4 KB Diff Download File
Makefile.am 106 8 years ago Mattia Rizzolo Use a weak reference to pthread_testcancel, so tha 4 KB Diff Download File
Makefile.linux.old 52 11 years ago Stewart Smith null merge r28 1.4 KB Diff Download File
Makefile.solaris.old 17 14 years ago Stewart Smith merge pandora-build, minimal configure.ac and Make 823 bytes Diff Download File
README 71 11 years ago Stewart Smith update AUTHORS, debian (C) and ensure that packagi 292 bytes Diff Download File
File test_run.sh 100 9 years ago Stewart Smith Some test suite updates. Add tst-key4 from libc, 1.6 KB Diff Download File