Age | Commit message (Collapse) | Author |
|
|
|
ITIMER_VIRTUAL for the profiled version. Fixes problems when programs
linked with libpthread try to use ITIMER_VIRTUAL (and have no way of
knowing that this will cause conflicts with the threads lib).
marc@ OK
|
|
timer. Allows threaded aps to be profiled. Tested on i386,
alpha, macppc, sparc64 and vax. miod@ says: I think this is the
right thing to do.
|
|
|
|
Clean up (compiler warning elimination). Compile check options added
but commented out as they have not been checked on all architectures, yet.
|
|
|
|
takes their place. The -pthread option to gcc uses libpthread.
ppc portion of patch from drahn@ (thanks). gcc portions of patch
OK espie@. Ports testing (no bad effects!) by naddy@
best build sequence is: build gcc, build system, build ports
remove /usr/lib/lib{c_r,npthread}.*. Note, once libc_r and
libnpthread is removed threaded ports will stop working until
they have been re-built using the libpthread and the updated gcc.
That's why the above build sequence is recommended.
|
|
The library is installed as libnpthread, not libpthread. This gets
around broken autoconf ports that attempt to link using both
-lpthread and -pthread.
The next step will be to change the gcc -pthread flag to use this lib
instead of libc_r.
|
|
always build with -Wall
bump version to 0.7 (matches libc_r x.7)
|
|
|
|
|
|
|
|
|
|
This is part of an undertaking to eventually get rid of libc_r, but requires
weak symbol overloading on all archs, which doesn't seem to be happening yet.
|
|
|
|
o general changes so that now the library compiles and many of the
tests run correctly
o pthreads/Makefile.inc rebuilt using libc/sys/Makefile.inc as a template.
this should be kept in sync in case of new syscalls
soon TODO:
figure out why remaining tests fail and fix
look at building .so version of library
tidy up arch/i386 directory - no longer uses syscall-template.S
port other arch's from libc syscall templates
|
|
arch/i386/pthread/machdep.h - not an ideal solution. Correct fix
is welcome. I am quiting work on this for today, so other hackers
are welcome to take it up for the rest of the day/night. More from
me tomorrow.
|
|
directories. These files have been renamed as appropriate, but
hackers of these files should note those that started off as netbsd
files (alpha and sparc).
also moved machdep/openbsd-2.0/ to include/sys/
|
|
|
|
|
|
|
|
|