Remove dead code relating to CMK_{LINUX,MACOSX}_PTHREAD_HACK
authorPhil Miller <mille121@illinois.edu>
Tue, 19 Jan 2010 22:41:49 +0000 (16:41 -0600)
committerPhil Miller <mille121@illinois.edu>
Tue, 19 Jan 2010 22:41:49 +0000 (16:41 -0600)
commit58bd992a4275b5bf58612b25e3163982984a4b21
tree80005258edfa15033048cc79c63e7213e3df743e
parent495875559f6d7f455c473df5339c3d110aee8d1c
Remove dead code relating to CMK_{LINUX,MACOSX}_PTHREAD_HACK

Before glibc version 2.3, Charm required a customized version of
libpthread to properly support multithreaded builds (SMP and VMI). The
configure script used to check for this, and downloaded the modified
library from charm.cs.uiuc.edu when appropriate. That hasn't worked
(because of a change in charm's IP address) for at least 3 years (per
Filippo) and no one has complained. Thus, remove references to it.

- Cut out the configure code that made this check and tried all sorts
  of ways to download the library.
- Remove the one snippet of core code that depended on the modified
  library.
- Delete the macro definitions that (de)activated the hack from the
  various conv-mach headers.

Note that CMK_MACOSX_PTHREAD_HACK seems to have always been dead code,
as it only ever appeared (probably from copy-paste) in conv-mach, and
never in actual code.
14 files changed:
src/arch/mpi-crayxt/conv-mach-smp.h
src/arch/mpi-crayxt3/conv-mach-smp.h
src/arch/mpi-darwin-ppc/conv-mach-smp.h
src/arch/mpi-linux-mips64/conv-mach-smp.h
src/arch/mpi-linux-x86_64/conv-mach-smp.h
src/arch/mpi-linux/conv-mach-smp.h
src/arch/mpi-linux/conv-mach-vmi.h
src/arch/multicore-darwin-x86/conv-mach.h
src/arch/multicore-darwin-x86_64/conv-mach.h
src/arch/net-darwin-x86/conv-mach-smp.h
src/arch/net-linux/conv-mach-smp.h
src/conv-core/threads.c
src/scripts/configure
src/scripts/configure.in