summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_create.c
AgeCommit message (Expand)Author
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-05-31thr_new: add a flag indicating that the thread is created by C runtimeKonstantin Belousov
2025-01-15pthread_create(): styleKonstantin Belousov
2024-03-06libthr: remove explicit sys/cdefs.h includesKonstantin Belousov
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2020-02-09Use sigfastblock(2) for masking signals in libthr.Konstantin Belousov
2018-11-30_thr_setthreaded() cannot fail; change return type to voidEric van Gyzen
2018-08-18POSIX compliance improvements in the pthread(3) functions.Pedro F. Giffuni
2017-11-26lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2016-04-08Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov
2016-02-28Implement process-shared locks support for libthr.so.3, withoutKonstantin Belousov
2015-07-08cosmetic: whitespaces-tab before EOLPedro F. Giffuni
2015-01-03Fix known issues which blow up the process after dlopen("libthr.so")Konstantin Belousov
2011-01-09Implement the __pthread_map_stacks_exec() for libthr.Konstantin Belousov
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-01Add signal handler wrapper, the reason to add it becauses there areDavid Xu
2008-04-29Use UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to saveDavid Xu
2008-04-23Avoid various shadowed variables. libthr is now almost WARNS=4 clean exceptXin LI
2008-03-19don't reduce new thread's refcount if current thread can not set cpusetDavid Xu
2008-03-19- Trim trailing spaces.David Xu
2008-03-18- Copy signal mask out before THR_UNLOCK(), because THR_UNLOCK() may callDavid Xu
2008-03-16Actually delete SIGCANCEL mask for suspended thread, so the signal will notDavid Xu
2008-03-06Restore code setting new thread's scheduler parameters, I was thinkingDavid Xu
2008-03-05Use cpuset defined in pthread_attr for newly created thread, for now,David Xu
2008-03-04If a new thread is created, it inherits current thread's signal masks,David Xu
2008-03-04implement pthread_attr_getaffinity_np and pthread_attr_setaffinity_np.David Xu
2006-12-15- Remove variable _thr_scope_system, all threads are system scope.David Xu
2006-11-24Eliminate atomic operations in thread cancellation functions, it shouldDavid Xu
2006-09-21use rtprio_thread system call to get or set thread priority.David Xu
2006-08-28Use umutex APIs to implement pthread_mutex, member pp_mutexq is addedDavid Xu
2006-07-13Caching scheduling policy and priority in userland, a critical but baddlyDavid Xu
2006-07-13Use thr_setscheduler, thr_getscheduler and thr_setschedparam to implementDavid Xu
2006-07-12Use kernel facilities to support real-time scheduling.David Xu
2006-04-04WARNS level 4 cleanup.David Xu
2006-03-27Remove priority mutex code because it does not work correctly,David Xu
2006-01-08Fix a bug recently introduced, the _thread_active_count should beDavid Xu
2006-01-05Refine thread suspension code, now thread suspension is a blockableDavid Xu
2005-12-17Update copyright.David Xu
2005-10-10The pthread_attr_set_createsuspend_np was broken, fix it byDavid Xu
2005-09-01Include needed headers that were obtained through <pthread.h>. Sort headersStefan Farfeleder
2005-04-23Use thr_new syscall to create a new thread, obscure context operationsDavid Xu
2005-04-12Add debugger event reporting support, current only TD_CREATE and TD_DEATHDavid Xu
2005-04-02Import my recent 1:1 threading working. some features improved includes:David Xu
2004-08-19Adjust code to support AMD64, on AMD64, thread needs to set fsbase byDavid Xu
2004-07-04Record the offset of thr_id in the thread structure. Required forMarcel Moolenaar
2004-07-02Change the thread ID (thr_id_t) used for 1:1 threading from being aMarcel Moolenaar