Commit Graph

18 Commits

Author SHA1 Message Date
joerg 5f391f4ae2 Export the guard size of the main thread via vm.guard_size. Add a
complementary writable sysctl for the initial guard size of threads
created via pthread_create. Let the existing attribut accessors do the
right thing. Raise the default guard size for threads to 64KB.
2017-07-02 16:41:32 +00:00
kamil 0892a29a1a libpthread_dbg(3) deletion from the base distribution
libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.

Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).

Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.

Sponsored by <The NetBSD Foundation>
2017-02-08 03:44:40 +00:00
joerg eab3272778 ld.elf_so is reentrant. 2012-02-03 21:11:17 +00:00
jruoho c42287d313 As per (now closed) PR lib/43581, add a note about unsupported modifications
to the red zone size.
2010-07-09 17:03:04 +00:00
wiz 0aec71a9f5 Fix typo. 2009-01-24 13:00:03 +00:00
ad 9c43df3853 We've got the priority/class stuff now. 2008-02-10 14:52:05 +00:00
ad 8f05f9cc26 Update. 2007-12-24 14:30:09 +00:00
ad 66ac2ffaf2 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.
2007-11-13 17:20:08 +00:00
ad debc2870e6 Update. 2007-09-08 23:00:31 +00:00
ad 342557fb0f Update. 2007-08-23 19:21:40 +00:00
ad 15c28fd2d8 Update. 2007-08-04 13:46:04 +00:00
ad de2138164c Remove the PTHREAD_SA option. If M:N threads is reimplemented it's
better off done with a seperate library.
2007-03-02 18:53:51 +00:00
ad dba14ef0a0 Don't grab the state lock to check for cancellation around condition
variables, as _lwp_wakeup/lwp_park provide the necessary barrier.
2007-03-02 17:47:40 +00:00
yamt 4cdc2ed889 fix a race between pthread_exit and pthread_create.
inefficient, but better than crashing.
2007-02-15 15:39:33 +00:00
ad ae979b2162 Add some items for 1:1 threads. 2006-12-25 11:36:36 +00:00
christos 0446e60323 Update list of items. 2003-11-25 22:44:16 +00:00
jdolecek ef9eed1dac pthread_kill() was implemented, remove from list
pthread_cond_timedwait() now works even before SA initialization, but some
other routines do not; update the paragraph for this
2003-02-06 09:55:47 +00:00
thorpej c62a74e6d5 Merge the nathanw_sa branch. 2003-01-18 10:32:11 +00:00