| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=206903
|
|
|
|
|
|
|
|
| |
Submitted by: Tijl Coosemans tijl at ulyssis dot org
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171859
|
|
|
|
|
|
|
|
| |
- Move kern_thr_*() prototype to <sys/syscallsubr.h> where all the other
kern_*() prototypes live.
Notes:
svn path=/head/; revision=170404
|
|
|
|
|
|
|
|
| |
Reviewed by: glanced at by jhb
Approved by: silence on -arch@ and -standards@
Notes:
svn path=/head/; revision=164184
|
|
|
|
| |
Notes:
svn path=/head/; revision=162551
|
|
|
|
|
|
|
|
| |
with rtprio_thread, while rtprio system call is for process only, the new
system call rtprio_thread is responsible for LWP.
Notes:
svn path=/head/; revision=162497
|
|
|
|
|
|
|
|
|
|
|
| |
these syscalls are designed to set thread's scheduling parameters and
policy, because each syscall contains a size parameter, it is possible
to support future scheduling option, e.g SCHED_SPORADIC, this option
needs other fields in structure sched_param, current they are not
avaiblable.
Notes:
svn path=/head/; revision=160319
|
|
|
|
|
|
|
| |
privileged process to create realtime thread.
Notes:
svn path=/head/; revision=160254
|
|
|
|
|
|
|
| |
Reviewed by: julian
Notes:
svn path=/head/; revision=155327
|
|
|
|
|
|
|
|
|
|
| |
inherit signal mask from parent thread, setup TLS and stack, and
user entry address.
Also support POSIX thread's PTHREAD_SCOPE_PROCESS and PTHREAD_SCOPE_SYSTEM,
sysctl is also provided to control the scheduler scope.
Notes:
svn path=/head/; revision=145434
|
|
|
|
| |
Notes:
svn path=/head/; revision=139825
|
|
|
|
|
|
|
|
|
|
|
|
| |
After some discussion the best option seems to be to signal the thread's
death from within the kernel. This requires that thr_exit() take an
argument.
Discussed with: davidxu, deischen, marcel
MFC after: 3 days
Notes:
svn path=/head/; revision=136192
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointer to the corresponding struct thread to the thread ID (lwpid_t)
assigned to that thread. The primary reason for this change is that
libthr now internally uses the same ID as the debugger and the kernel
when referencing to a kernel thread. This allows us to implement the
support for debugging without additional translations and/or mappings.
To preserve the ABI, the 1:1 threading syscalls, including the umtx
locking API have not been changed to work on a lwpid_t. Instead the
1:1 threading syscalls operate on long and the umtx locking API has
not been changed except for the contested bit. Previously this was
the least significant bit. Now it's the most significant bit. Since
the contested bit should not be tested by userland, this change is
not expected to be visible. Just to be sure, UMTX_CONTESTED has been
removed from <sys/umtx.h>.
Reviewed by: mtm@
ABI preservation tested on: i386, ia64
Notes:
svn path=/head/; revision=131431
|
|
|
|
|
|
|
|
|
| |
use msleep() and wakeup_one().
Discussed with: jhb, peter, tjr
Notes:
svn path=/head/; revision=127482
|
|
- sys/thr.h contains the user space visible api that is intended only for
use in threading library packages.
- kern/kern_thr.c contains thr system calls and other thr specific code.
Notes:
svn path=/head/; revision=112899
|