History log of /freebsd-10-stable/lib/libthr/sys/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
277317 18-Jan-2015 kib

Fix known issues which blow up the process after dlopen("libthr.so")
(or loading a dso linked to libthr.so into process which was not
linked against threading library).

MFC r276630:
Remove interposing, fix malloc, reinstall signal handlers wrappers on
libthr load.

MFC r276681:
Avoid calling internal libc function through PLT or accessing data
though GOT.

MFC r277032:
Reduce the size of the interposing table and amount of
cancellation-handling code in the libthr.

MFC note:
r276646 ("do not erronously export 'openat' symbol from rtld") is not
applicable to stable/10 yet, since PATHFDS support was not merged.


/freebsd-10-stable/contrib/jemalloc/include/jemalloc/internal/mutex.h
/freebsd-10-stable/contrib/jemalloc/src/jemalloc.c
/freebsd-10-stable/contrib/jemalloc/src/mutex.c
/freebsd-10-stable/lib/libc/Makefile
/freebsd-10-stable/lib/libc/compat-43/creat.c
/freebsd-10-stable/lib/libc/gen/Makefile.inc
/freebsd-10-stable/lib/libc/gen/Symbol.map
/freebsd-10-stable/lib/libc/gen/__pthread_mutex_init_calloc_cb_stub.c
/freebsd-10-stable/lib/libc/gen/pause.c
/freebsd-10-stable/lib/libc/gen/raise.c
/freebsd-10-stable/lib/libc/gen/sleep.c
/freebsd-10-stable/lib/libc/gen/swapcontext.c
/freebsd-10-stable/lib/libc/gen/termios.c
/freebsd-10-stable/lib/libc/gen/usleep.c
/freebsd-10-stable/lib/libc/gen/wait.c
/freebsd-10-stable/lib/libc/gen/wait3.c
/freebsd-10-stable/lib/libc/gen/waitpid.c
/freebsd-10-stable/lib/libc/include/libc_private.h
/freebsd-10-stable/lib/libc/stdlib/Symbol.map
/freebsd-10-stable/lib/libc/stdlib/jemalloc/Symbol.map
/freebsd-10-stable/lib/libc/stdlib/system.c
/freebsd-10-stable/lib/libc/sys/Makefile.inc
/freebsd-10-stable/lib/libc/sys/Symbol.map
/freebsd-10-stable/lib/libc/sys/__error.c
/freebsd-10-stable/lib/libc/sys/accept.c
/freebsd-10-stable/lib/libc/sys/accept4.c
/freebsd-10-stable/lib/libc/sys/aio_suspend.c
/freebsd-10-stable/lib/libc/sys/close.c
/freebsd-10-stable/lib/libc/sys/connect.c
/freebsd-10-stable/lib/libc/sys/fcntl.c
/freebsd-10-stable/lib/libc/sys/fork.c
/freebsd-10-stable/lib/libc/sys/fsync.c
/freebsd-10-stable/lib/libc/sys/interposing_table.c
/freebsd-10-stable/lib/libc/sys/msync.c
/freebsd-10-stable/lib/libc/sys/nanosleep.c
/freebsd-10-stable/lib/libc/sys/open.c
/freebsd-10-stable/lib/libc/sys/openat.c
/freebsd-10-stable/lib/libc/sys/poll.c
/freebsd-10-stable/lib/libc/sys/pselect.c
/freebsd-10-stable/lib/libc/sys/read.c
/freebsd-10-stable/lib/libc/sys/readv.c
/freebsd-10-stable/lib/libc/sys/recvfrom.c
/freebsd-10-stable/lib/libc/sys/recvmsg.c
/freebsd-10-stable/lib/libc/sys/select.c
/freebsd-10-stable/lib/libc/sys/sendmsg.c
/freebsd-10-stable/lib/libc/sys/sendto.c
/freebsd-10-stable/lib/libc/sys/setcontext.c
/freebsd-10-stable/lib/libc/sys/sigaction.c
/freebsd-10-stable/lib/libc/sys/sigprocmask.c
/freebsd-10-stable/lib/libc/sys/sigsuspend.c
/freebsd-10-stable/lib/libc/sys/sigtimedwait.c
/freebsd-10-stable/lib/libc/sys/sigwait.c
/freebsd-10-stable/lib/libc/sys/sigwaitinfo.c
/freebsd-10-stable/lib/libc/sys/swapcontext.c
/freebsd-10-stable/lib/libc/sys/wait4.c
/freebsd-10-stable/lib/libc/sys/write.c
/freebsd-10-stable/lib/libc/sys/writev.c
/freebsd-10-stable/lib/libthr/Makefile
/freebsd-10-stable/lib/libthr/pthread.map
thr_error.c
/freebsd-10-stable/lib/libthr/thread/thr_create.c
/freebsd-10-stable/lib/libthr/thread/thr_fork.c
/freebsd-10-stable/lib/libthr/thread/thr_init.c
/freebsd-10-stable/lib/libthr/thread/thr_printf.c
/freebsd-10-stable/lib/libthr/thread/thr_private.h
/freebsd-10-stable/lib/libthr/thread/thr_sig.c
/freebsd-10-stable/lib/libthr/thread/thr_syscalls.c
256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


160284 12-Jul-2006 davidxu

__error could be called too early before libthr is initialized, test
this case and return global varible errno instead.


144518 02-Apr-2005 davidxu

Import my recent 1:1 threading working. some features improved includes:
1. fast simple type mutex.
2. __thread tls works.
3. asynchronous cancellation works ( using signal ).
4. thread synchronization is fully based on umtx, mainly, condition
variable and other synchronization objects were rewritten by using
umtx directly. those objects can be shared between processes via
shared memory, it has to change ABI which does not happen yet.
5. default stack size is increased to 1M on 32 bits platform, 2M for
64 bits platform.
As the result, some mysql super-smack benchmarks show performance is
improved massivly.

Okayed by: jeff, mtm, rwatson, scottl


112925 01-Apr-2003 jeff

- Adjust the makefiles so we have a per architecture makefile.


112919 01-Apr-2003 jeff

- Commit the forgotten libthr/sys bits.