#
568eb77e |
| 10-Apr-2022 |
riastradh <riastradh@NetBSD.org> |
pthread: Nix trailing whitespace.
|
#
7adb4107 |
| 12-Feb-2022 |
riastradh <riastradh@NetBSD.org> |
libpthread: Move namespacing include to top of .c files.
Stuff like libc's namespace.h, or atomic_op_namespace.h, which does namespacing tricks like `#define atomic_cas_uint _atomic_cas_uint', has t
libpthread: Move namespacing include to top of .c files.
Stuff like libc's namespace.h, or atomic_op_namespace.h, which does namespacing tricks like `#define atomic_cas_uint _atomic_cas_uint', has to go at the top of each .c file. If it goes in the middle, it might be too late to affect the declarations, and result in compile errors.
I tripped over this by including <sys/atomic.h> in mips <machine/lock.h>.
(Maybe we should create a new pthread_namespace.h file for the purpose, but this'll do for now.)
show more ...
|
#
08c17fb3 |
| 29-Jan-2020 |
kamil <kamil@NetBSD.org> |
Check thread->pt_magic with PT_MAGIC promptly
|
#
51002188 |
| 13-Jan-2020 |
ad <ad@NetBSD.org> |
Rip out some very ambitious optimisations around pthread_mutex that are don't buy much. This stuff is hard enough to get right in the kernel let alone userspace, and I don't trust that it's right.
|
#
71d484f9 |
| 21-Mar-2013 |
christos <christos@NetBSD.org> |
- Allow libpthread to be dlopened again, by providing libc stubs to libpthread. - Fail if the dlopened libpthread does pthread_create(). From manu@ - Discussed at length in the mailing lists; approve
- Allow libpthread to be dlopened again, by providing libc stubs to libpthread. - Fail if the dlopened libpthread does pthread_create(). From manu@ - Discussed at length in the mailing lists; approved by core@ - This was chosen as the least intrusive patch that will provide the necessary functionality. XXX: pullup to 6
show more ...
|
#
cc63c840 |
| 12-Aug-2009 |
enami <enami@NetBSD.org> |
Make nanosleep cancelable again.
|
#
461a86f9 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
merge christos-time_t
|
#
62f7265e |
| 29-Dec-2008 |
christos <christos@NetBSD.org> |
revert previous. It was meant for the branch
|
#
6c20e81c |
| 28-Dec-2008 |
christos <christos@NetBSD.org> |
adjust for time_t 64
|
#
b4c1afd4 |
| 28-Jun-2008 |
ad <ad@NetBSD.org> |
Shut lint up.
|
#
6d153667 |
| 24-Jun-2008 |
ad <ad@NetBSD.org> |
pthread_kill, pthread_sigmask: return errno, not the return from the system call. Found by VSTHlite.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
a67e1e34 |
| 10-Feb-2008 |
ad <ad@NetBSD.org> |
- Remove libpthread's atomic ops. - Remove the old spinlock-based mutex and rwlock implementations. - Use the atomic ops from libc.
|
#
603e4b9a |
| 09-Feb-2008 |
yamt <yamt@NetBSD.org> |
update for _sched_{get,set}param changes. from rmind@.
|
#
b5e9addd |
| 26-Jan-2008 |
rmind <rmind@NetBSD.org> |
sched_setparam: fix the case when incorrect (according to the class) in-kernel priority is used. Reported by <drochner>.
Minor fixes for scheduling calls to conform the POSIX: - If pid is equal to
sched_setparam: fix the case when incorrect (according to the class) in-kernel priority is used. Reported by <drochner>.
Minor fixes for scheduling calls to conform the POSIX: - If pid is equal to zero, use the calling process; - In case of permission problem, return EPERM instead of EACESS; - sched_setscheduler() should return previously used policy; - pthread_* calls should return the error code or zero;
Should fix the namespace problems (and builds of some packages): - Move cpuset_t defintion from pset.h to sched.h; - Remove the #include of pset.h in pthread.h;
show more ...
|
#
5c71a4d4 |
| 15-Jan-2008 |
rmind <rmind@NetBSD.org> |
Implementation of processor-sets, affinity and POSIX real-time extensions. Add schedctl(8) - a program to control scheduling of processes and threads.
Notes: - This is supported only by SCHED_M2; -
Implementation of processor-sets, affinity and POSIX real-time extensions. Add schedctl(8) - a program to control scheduling of processes and threads.
Notes: - This is supported only by SCHED_M2; - Migration of LWP mechanism will be revisited;
Proposed on: <tech-kern>. Reviewed by: <ad>.
show more ...
|
#
66ac2ffa |
| 13-Nov-2007 |
ad <ad@NetBSD.org> |
Mutexes:
- Play scrooge again and chop more cycles off acquire/release. - Spin while the lock holder is running on another CPU (adaptive mutexes). - Do non-atomic release.
Threadreg:
- Add the nec
Mutexes:
- Play scrooge again and chop more cycles off acquire/release. - Spin while the lock holder is running on another CPU (adaptive mutexes). - Do non-atomic release.
Threadreg:
- Add the necessary hooks to use a thread register. - Add the code for i386, using %gs. - Leave i386 code disabled until xen and COMPAT_NETBSD32 have the changes.
show more ...
|
#
d9adedd7 |
| 16-Aug-2007 |
ad <ad@NetBSD.org> |
Trim fat off libpthread internal spinlock operations. Makes a mesurable improvement across the board.
|
#
de213816 |
| 02-Mar-2007 |
ad <ad@NetBSD.org> |
Remove the PTHREAD_SA option. If M:N threads is reimplemented it's better off done with a seperate library.
|