| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
enable sigaltstack for scope system thread.
|
| |
|
| |
|
|
|
|
| |
Submitted by: Marc Olzheim <marcolz@stack.nl>
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Remove error code that can't be returned (and original description
was not proper English)
PR: docs/57434
|
|
|
|
| |
in preparation for the merge.
|
|
|
|
|
| |
a mutex locked by another thread.
o document it: pthread_mutex_timedlock(3)
|
|
|
|
|
|
|
|
|
|
| |
waiting on a locked mutex. This involves passing a struct timespec
from the pthread mutex locking interfaces all the way down to the
function that suspends the thread until the mutex is released.
The timeout is assumed to be an absolute time (i.e. not relative to
the current time).
Also, in _thread_suspend() make the passed in timespec const.
|
| |
|
|
|
|
|
|
|
|
| |
is supported, for scope system process, kernel signal bits need to be
changed.
Reviewed by: deischen
Tested on : i386 amd64 ia64
|
|
|
|
| |
Reviewed by: silby
|
| |
|
|
|
|
| |
Reviewed by: mtm
|
|
|
|
|
|
| |
directory.
Special thanks to: valgrind
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Remove some code duplication between _thread_init(), which is run once
to initialize libthr and the intitial thread, and pthread_create(), which
initializes newly created threads, into a new function called from both
places: init_td_common()
o Move initialization of certain parts of libthr into a separate
function. These include:
- Active threads list and it's lock
- Dead threads list and it's lock & condition variable
- Naming and insertion of the initial thread into the
active threads list.
|
|
|
|
|
| |
PR: 44394
Submitted by: Craig Rodrigues <rodrige@attbi.com>
|
|
|
|
| |
PR: 60539
|
|
|
|
| |
Noticed by: wollman
|
|
|
|
|
|
| |
PR: 20528
Submitted by: bms (original version)
Requested by: mike (awhile ago)
|
|
|
|
|
| |
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: docs/60457
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
รณ++ ABI document at http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor
The ABI was initially defined for ia64, but GCC3 and Intel compilers
have adopted it on other platforms.
This is the patch from PR bin/59552 with a number of changes by
me.
PR: bin/59552
Submitted by: Bradley T Hughes (bhughes at trolltech dot com)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C++ ABI document at http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor
The ABI was initially defined for ia64, but GCC3 and Intel compilers
have adopted it on other platforms.
This is the patch from PR bin/59552 with a number of changes by
me.
PR: bin/59552
Submitted by: Bradley T Hughes (bhughes at trolltech dot com)
|
|
|
|
| |
new fork() wrapper.
|
| |
|
| |
|
|
|
|
| |
follow declaration section.
|
|
|
|
| |
PR: 59291
|
|
|
|
| |
[last] character, not int).
|
| |
|
|
|
|
|
|
| |
work before anyways, and I didn't want to fix broken code I had no
way of testing. It was necessary however, in order to get rid of GIANT_LOCK.
Pthread priorities will have to wait a little longer to get fixed.
|
|
|
|
|
|
|
|
| |
problems: (1) The wrong flag was being checked for in the attribute
(2) The pthread's state was not being set to indicate it was
suspended.
Noticed by: Igor Sysoev <is@rambler-co.ru>
|
|
|
|
| |
ktrace(2).
|
| |
|
|
|
|
|
|
|
| |
call (pam_get_authtok() will return the previous token if try_first_pass
or use_first_pass is specified). Incidentally fix an ugly bug where the
buffer holding the prompt was freed immediately before use, instead of
after.
|
|
|
|
| |
Submitted by: Andreas Hauser <andy-freebsd@splashground.de>
|
|
|
|
| |
more work than the others). This should make most modules build with -O2.
|
|
|
|
| |
Removed a redundant clause.
|
|
|
|
| |
and thread list locks.
|
|
|
|
| |
Suggested by: wollman
|
|
|
|
|
| |
to e.g. correctly load all .ko.gz's I've tried, as opposed to messing
up trying to read section headers on some of them.
|
|
|
|
|
|
| |
PR: docs/60068
Submitted by: Ken Stailey
MFC after: 2 weeks
|
|
|
|
|
|
| |
- include ashldi3.c/ashrdi3.c from libc for UFS 64-bit arith
- pull in syncicache.c from libc, and define _STANDALONE for
loader usage
|
|
|
|
| |
- remove XXX normalization bit comment, code is correct.
|
|
|
|
|
| |
manpage and add a kse_switchin link. While here, list kse_thr_interrupt
before kse_wakeup in the MLINKS variable and the synopsis.
|
|
|
|
|
|
|
|
|
| |
likely to be non-zero. When leaving the cancellation point, check
the return value against -1 to see if cancellation should be
checked. While I'm here, make the same change to connect() just
to be consisitent.
Pointed out by: davidxu
|
| |
|
| |
|
|
|
|
|
|
| |
PTHREAD_NEW_STATE should work as expected now: a thread
marked PS_RUNNING will get sent a SIGTHR.
Still more cleanups necessary.
|