| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
LONG_MAX. Also, remove an Alpha-specific optimization that only saves
a couple of bytes of code size.
ok millert, guenther
|
|
|
|
| |
ok guenther, millert (and me); bulk build test by naddy
|
|
|
|
|
| |
environment variable, so stop using the /dev/audio symlink which
can't be used by sndiod(1) anyway
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Implementation, documentation and naive regression tests for:
- pthread_spin_init()
- pthread_spin_destroy()
- pthread_spin_lock()
- pthread_spin_trylock()
- pthread_spin_unlock()
Implementation okay guenther@, documentation okay jmc@.
|
|
|
|
|
|
|
|
|
| |
at the top of closef() until all in-progress calls finish, just do the
advisory locking bits required of close() by POSIX and let whichever
thread has the last reference do the call to the file's fo_close()
method and the final cleanup.
lots of discussion with deraadt@ and others; worked out with and ok krw@
|
|
|
|
|
|
|
| |
/dev/ptm. Users are strongly encouraged to upgrade to a more recent
release if they haven't already.
ok deraadt
|
|
|
|
| |
ok deraadt
|
| |
|
|
|
|
| |
ok deraadt matthew millert
|
|
|
|
|
|
| |
`Visual inspection looks ok' kurt@.
>From Brad
|
| |
|
|
|
|
|
| |
used while compiling extensions which are actually a part of the core,
prevents segfaults because extensions have not been loaded...
|
|
|
|
| |
depend
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
fd_ofiles and fd_ofileflags, reading in the separate allocation
when necessary. Lets fstat -p and fstat -u work on kernel crash
dumps again.
ok millert@
|
|
|
|
| |
from Lawrence Teo
|
|
|
|
| |
ok miod@ deraadt@
|
|
|
|
|
| |
or compiler we use will.
ok millert
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread information.
Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the
thread info and make it off by default. This creates backwards compatibility
for applications that relied on a given size/number of items to be returned.
Modify ps(1) and top(1) accordingly.
Okay guenther@.
|
|
|
|
| |
The latter contains "#define _POSIX_THREADS 1" which makes gcc 2.95 complain.
|
|
|
|
|
| |
eventually, but it's enough for now to make the blocking API fully
thread-safe without locking.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
parse.[ch] comes from it.
|
| |
|
|
|
|
| |
we don't need most of the portability goo
|
|
|
|
|
|
| |
regen parse.c/parse.h with "lemon", no need to recompile every time.
pthread_stub.c might(?) be needed for clean non-pthreads operation
(to be checked, the nomutex stuff looks interesting)
|
| |
|
|
|
|
| |
dumps
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
errors similar to PTHREAD_MUTEX_ERRORCHECK, however upon error it aborts.
The rational is that many applications don't check the return values on
pthread functions and will miss the errors that ERRORCHECK returns.
PTHREAD_MUTEX_STRICT_NP will be our default mutex type for awhile
okay guenther@ dcoppa@
|
| |
|
|
|
|
|
|
|
| |
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.
ok deraadt@
|
| |
|
|
|
|
|
|
| |
default mutex type changes to NORMAL, when there is an uninitialized
mutex provided to unlock, allow it to succeed similar to an unlocked
mutex. For other cases abort instead of segfault. okay guenther@
|
|
|
|
|
|
| |
certain conditions. In the case of unlocking an unlocked mutex we will
allow that to succeed, all other undefined behaviors will result in an
immediate abort(). okay guenther@
|
|
|
|
|
| |
support is needed before they can be usefully enabled but I don't want
to misplace this diff yet again
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
effective result. its use is NOT discouraged -- it is not
common, but when you need it, there is nothing else that will do.
|
|
|
|
|
|
| |
compiler not doing alloca in C using malloc" is unworkable. It
is not safe, and we can never use it.
ok guenther kurt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This expands the already bloated FILL_KPROC macro to take an extra
parameter that indicates if the callee is a thread or a process.
The userland bits are adjusted accordingly and ps(1) and top(1) now
display per thread usage times when -H is used.
Also pkill(1) had to be adjusted so that duplicates don't pop up.
libkvm does basically the same thing as the kernel bits.
Okay guenther@.
|