| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
'RELENG_5_5_0_RELEASE'.
This commit was manufactured to restore the state of the 5.5-RELEASE image.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Increase the default stacksizes:
32-bit 64-bit
main thread 2MB 4MB
other threads 1MB 2MB
Approved by: eischen
re (scottl no longer objects since 5.4 is out)
Notes:
svn path=/stable/5/; revision=146104
|
| |
|
|
|
|
|
| |
any fake value.
Notes:
svn path=/stable/5/; revision=141786
|
| |
|
|
|
|
|
|
|
| |
2004-11-27 06:51:39 UTC
Don't include sys/user.h merely for its side-effect of recursively
including other headers.
Notes:
svn path=/stable/5/; revision=141333
|
| |
|
|
|
|
|
| |
PR: 56653
Notes:
svn path=/head/; revision=133723
|
| |
|
|
|
|
|
|
|
|
|
| |
These files had tags after teh copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125669
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125266
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread library for i386, amd64, and ia64. For alpha
and sparc64 the library is not changed and remains libkse,
and links are installed so that libpthread -> libc_r.
The gcc -pthread option will be changed in a separate
commit so that it links to -lpthread instead of -lc_r.
Approved by: re@
Notes:
svn path=/head/; revision=125230
|
| |
|
|
|
|
|
|
|
|
| |
context.
Submitted by: Marc Olzheim <marcolz@stack.nl>
Tested by: Marc Olzheim <marcolz@stack.nl>
Notes:
svn path=/head/; revision=124841
|
| |
|
|
|
|
|
|
|
|
|
| |
of each manpage lists libraries that have corresponding interfaces
implemented.
Prodded by: threads
Reviewed by: deischen
Notes:
svn path=/head/; revision=124535
|
| |
|
|
|
|
|
|
| |
Reviewed by: deischen
Repocopy by: markm
Notes:
svn path=/head/; revision=124533
|
| |
|
|
|
|
|
|
|
|
| |
- sem_*(3) manpages were repocopied from libc_r.
Reviewed by: deischen
Repocopy by: markm
Notes:
svn path=/head/; revision=124530
|
| |
|
|
|
|
|
| |
readlocks on a rwlock while there are writers waiting.
Notes:
svn path=/head/; revision=124253
|
| |
|
|
|
|
|
| |
Submitted by: Marc Olzheim <marcolz@stack.nl>
Notes:
svn path=/head/; revision=124018
|
| |
|
|
|
|
|
|
|
|
| |
- Remove error code that can't be returned (and original description
was not proper English)
PR: docs/57434
Notes:
svn path=/head/; revision=123997
|
| |
|
|
|
|
|
| |
PR: 59291
Notes:
svn path=/head/; revision=123610
|
| |
|
|
|
|
|
|
|
|
|
|
| |
we can end up with some threads with a non-16-byte-aligned stack. This
causes some interesting side effects, including general protection
faults leading to a SIGBUS when doing floating point or varargs. This
should be just a verbose NOP for the other platforms.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=123117
|
| |
|
|
|
|
|
|
|
| |
wrapped version of write().
Submitted by: dan@langille.org
Notes:
svn path=/head/; revision=120575
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120054
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119893
|
| |
|
|
|
|
|
|
|
|
| |
be closed. This fixes a file descriptor leak when closing a kqueue() fd.
Reviewed by: deischen
MFC after: 1 week
Notes:
svn path=/head/; revision=118019
|
| |
|
|
|
|
|
| |
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Notes:
svn path=/head/; revision=117500
|
| |
|
|
|
|
|
|
| |
Submitted by: bde
Tested by: beast
Notes:
svn path=/head/; revision=117163
|
| |
|
|
|
|
|
| |
add it to CFLAGS.
Notes:
svn path=/head/; revision=117144
|
| |
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=117120
|
| |
|
|
|
|
|
|
| |
Noticed by: ted@NLnetLabs.nl (Ted Lindgreen)
Approved by: ru
Notes:
svn path=/head/; revision=116092
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116025
|
| |
|
|
|
|
|
|
| |
Don't cast thread_self() to int. Cast to uintptr_t. Pull in the
predefined printf format from <inttypes.h>
Notes:
svn path=/head/; revision=115855
|
| |
|
|
|
|
|
|
| |
In recurse(), cast the pointer difference to int to match the format.
The difference is expected to fit in an int.
Notes:
svn path=/head/; revision=115854
|
| |
|
|
|
|
|
|
|
| |
don't allow it at the moment, the correct thing to do is try again.
Otherwise, libthr would fail this test because it doesn't allow
an unlimited number of concurrent threads per application.
Notes:
svn path=/head/; revision=115819
|
| |
|
|
| |
Notes:
svn path=/head/; revision=115742
|
| |
|
|
|
|
|
| |
the same src/lib/libc_r/test/* tests that the other platforms pass.
Notes:
svn path=/head/; revision=115740
|
| |
|
|
|
|
|
|
|
| |
libthr. Oops, sorry about that.
Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
Notes:
svn path=/head/; revision=115658
|
| |
|
|
| |
Notes:
svn path=/head/; revision=115649
|
| |
|
|
|
|
|
|
|
|
|
|
| |
stale stdio descriptors flags.
PR: bin/51535
Submitted by: Enache Adrian <enache@rdslink.ro>
Reviewed by: deischen
Approved by: re (scottl)
Notes:
svn path=/head/; revision=115422
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an excessive close() on one of these descriptors would cause
a memory for this descriptor to be allocated in the internal
descriptor table. When this descriptor gets used again, e.g.
through the call to open() or socket(), the descriptor would
be erroneously left in the blocking mode, and the whole
application would get stuck on a blocking operation, e.g.,
in accept(2).
Prevent this bug from happening by disallowing close() against
non-active descriptors (return -1 and set errno to EBADF in
this case).
Reviewed by: deischen
Approved by: re (scottl)
Notes:
svn path=/head/; revision=115421
|
| |
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=115288
|
| |
|
|
|
|
|
|
|
|
|
|
| |
libthr. No changes were made to libpthread by request of deischen,
who will soon commit a real implementation for that library.
PR: standards/50848
Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>
MFC after: 1 week
Notes:
svn path=/head/; revision=113729
|
| |
|
|
|
|
|
|
|
| |
more complicated things than just setting the lock to 0.
- Implement stubs for this function in libc and the two threading libraries
that are currently in the tree.
Notes:
svn path=/head/; revision=112665
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112542
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not save (restore) the global pointer (GP) in the jmpbuf in setjmp
(longjmp) because it's not needed in general. GP is considered a
scratch register at callsites and hence is always restored after a
call (when it's possible that the call resolves to a symbol in a
different loadmodule; otherwise GP does not have to be saved and
restored at all), including calls to setjmp/longjmp. There's just
one problem with this now that we use setjmp/longjmp for context
switching: A new context must have GP defined properly for the
thread's entry point. This means that we need to put GP in the
jmpbuf and consequently that we have to restore is in longjmp.
This automaticly requires us to save it as well.
When setjmp/longjmp isn't used for context switching, this can be
reverted again.
Notes:
svn path=/head/; revision=111897
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
integral type to the size of a pointer type when it's known that the
cast is valid. On ia64 such casts are generally bad news and has led
us (=peter :-) to make such casts fatal. By casting to intptr_t
before casting to a pointer type, this now compiles cleanly in LP64
architectures. Note that the final cast has been changed to void*
(instead of siginfo_t*) to make it explicit that we're not trying to
pass a siginfo_t pointer but rather trying to pass an int when the
prototype says it should be a pointer.
Notes:
svn path=/head/; revision=111896
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111452
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111447
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110829
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110828
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add manual pages for following functions:
. pthread_attr_setcreatesuspend_np(3)
. pthread_main_np(3)
. pthread_multi_np(3)
. pthread_single_np(3)
. pthread_mutexattr_getkind_np(3)
. pthread_mutexattr_setkind_np(3)
. pthread_resume_all_np(3)
. pthread_resume_np(3)
. pthread_set_name_np(3)
. pthread_suspend_all_np(3)
. pthread_suspend_np(3)
. pthread_switch_add_np(3)
. pthread_switch_delete_np(3)
MFC after: 3 days
Notes:
svn path=/head/; revision=110827
|
| |
|
|
|
|
|
|
|
| |
section. Add cross reference to pthread_attr_getstack() function.
MFC after: 1 day
Notes:
svn path=/head/; revision=110813
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110812
|
| |
|
|
|
|
|
| |
functions and remove links for 3 non-existent functions
Notes:
svn path=/head/; revision=110811
|