DragonFly commits List (threaded) for 2007-04
cvs commit: src/lib Makefile src/lib/libpthread Makefile README dummy.c
corecode 2007/04/17 05:34:07 PDT
DragonFly src repository
lib/libpthread Makefile README dummy.c
Add a proxy libpthread.
In short, it works like this: ld uses libpthread.so when linking. There
the SONAME is set to libpthread.so.0. This however is a symlink (or maybe
varsymlink) to one of the threading libs. Voila, threading libs can be
switched at execution time and we won't get breakage because of two different
threading libs being used in the same binary.
Idea-by: joerg and me.
Revision Changes Path
1.29 +4 -3 src/lib/Makefile