summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_init.c
AgeCommit message (Expand)Author
2025-08-06libthr: GC unused _sigsuspend()Brooks Davis
2025-06-22libthr/amd64: do not set THR_C_RUNTIME for thr_new() if the main thread did u...Konstantin Belousov
2025-06-04C runtime: add kernel version guards on exterrctlBrooks Davis
2025-05-31C runtime: enable extended error reporting from kernelKonstantin Belousov
2025-01-15libpthread_init(): ensure curthread == NULL until set explicitlyKonstantin Belousov
2024-11-13libc, libthr: coordinate stubs for pthread_{suspend,resume}_all_npKyle Evans
2024-11-13libthr: allow very early atfork registrationKyle Evans
2024-03-06libthr: remove explicit sys/cdefs.h includesKonstantin Belousov
2023-08-21libc: export pthread_getname_np stubMinsoo Choo
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-04-19umtx: allow to configure minimal timeout (in nanoseconds)Konstantin Belousov
2022-09-16libthr: extract code to get main stack base and size into helpersKonstantin Belousov
2022-09-16libc, libthr: use AT_USRSTACK{BASE,LIM} instead of sysctl("kern.usrstack") an...Konstantin Belousov
2022-09-16libthr: use nitems() for mib lengthKonstantin Belousov
2022-01-17Revert "libthr: Use kern.stacktop for thread stack calculation."Mark Johnston
2021-10-15libthr: Use kern.stacktop for thread stack calculation.Dawid Gorecki
2020-11-28libc: Add pthread_attr_get_np(3) stub, reporting ESRCH.Konstantin Belousov
2019-08-21Fix _pthread_cancel_enter() and _pthread_cancel_leave() jmptable entries.Konstantin Belousov
2019-07-31Avoid conflicts with libc symbols in libthr jump table.Konstantin Belousov
2019-06-23Add libc stub for pthread_getthreadid_np(3).Konstantin Belousov
2019-01-29Untangle jemalloc and mutexes initialization.Konstantin Belousov
2018-11-19Make libthr(3) use sysconf(_SC_NPROCESSORS_CONF); this shaves offEdward Tomasz Napierala
2017-11-18spdx: initial adoption of licensing ID tags.Pedro F. Giffuni
2017-05-20Remove old spinlock_debug code from libcEric van Gyzen
2016-07-27Remove empty initializer for the once facility. It was not neededKonstantin Belousov
2016-05-17Add implementation of robust mutexes, hopefully close enough to theKonstantin Belousov
2016-04-08Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov
2016-04-04Remove unused variable. It was write-only before r297139.Konstantin Belousov
2016-03-21Lock pshared_lock shared around fork, to ensure that the COW snapshotKonstantin Belousov
2016-03-21From libthr, remove special and strange code to set up session andKonstantin Belousov
2016-02-28Implement process-shared locks support for libthr.so.3, withoutKonstantin Belousov
2015-12-20libthr: Don't use both __sys_open() and __sys_openat().Jilles Tjoelker
2015-01-03Fix known issues which blow up the process after dlopen("libthr.so")Konstantin Belousov
2014-09-24Switch the defaults to not split the RLIMIT_STACK-sized initial threadKonstantin Belousov
2014-08-13Add a knob LIBPTHREAD_BIGSTACK_MAIN, which instructs libthr to leaveKonstantin Belousov
2013-01-18libthr: Always use the threaded rtld lock implementation.Jilles Tjoelker
2012-08-27In suspend_common(), don't wait for a thread which is in creation, becauseDavid Xu
2012-05-03MFp4:David Xu
2011-06-19Do not set thread name to less than informative 'initial thread'.Alexander Kabaev
2010-12-22MFp4:David Xu
2010-09-28In current code, statically initialized and destroyed object haveDavid Xu
2010-09-25To support stack unwinding for cancellation points, add -fexceptions flagDavid Xu
2010-09-15add code to support stack unwinding when thread exits. note that onlyDavid Xu
2010-09-13Convert thread list lock from mutex to rwlock.David Xu
2010-09-01Change atfork lock from mutex to rwlock, also make mutexes used by malloc()David Xu
2010-09-01Add signal handler wrapper, the reason to add it becauses there areDavid Xu
2010-01-05Use umtx to implement process sharable semaphore, to make this work,David Xu
2008-05-29- Reduce function call overhead for uncontended case.David Xu
2008-04-16_vfork is not in libthr, remove the reference.David Xu
2008-03-05Use cpuset defined in pthread_attr for newly created thread, for now,David Xu