matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
ad
b4c1afd422
Shut lint up.
2008-06-28 16:50:43 +00:00
ad
27e50f7c64
Avoid spurious assertion failure.
2008-06-28 10:37:20 +00:00
ad
0e006eeb6f
Minor correction to previous.
2008-06-28 10:36:12 +00:00
ad
cbd43ffa55
Now that we have all the scheduling gunk, make these do something useful:
...
pthread_attr_get_np
pthread_attr_setschedparam
pthread_attr_getschedparam
pthread_attr_setschedpolicy
pthread_attr_getschedpolicy
2008-06-28 10:29:37 +00:00
ad
2a7116daf3
ttyname_r is another of the strange functions that returns its error code
...
instead of setting errno.
2008-06-25 11:47:29 +00:00
ad
3ae2f84118
Add _SC_TTY_NAME_MAX.
2008-06-25 11:46:11 +00:00
ad
5c6eb305b3
Fix MLINKS line
2008-06-25 11:19:28 +00:00
ad
c6f43a476e
Crank libc minor for getlogin_r
2008-06-25 11:12:01 +00:00
ad
5f64faa3a9
Add getlogin_r. Manual page changes mostly lifted from FreeBSD.
2008-06-25 11:10:24 +00:00
ad
d29b52efe8
Return -1 for the unsupported realtime extensions.
2008-06-25 11:09:20 +00:00
ad
403a399142
pthread_attr_setstacksize: EINVAL if the requested size is less than
...
sysconf(_SC_THREAD_STACK_MIN).
2008-06-25 11:07:07 +00:00
ad
39a9e71121
pthread_join: explicitly test for cancellation.
2008-06-25 11:06:34 +00:00
drochner
39ba286079
as in exp(), treat +/-Inf and NaN arguments specially, should fix
...
eg expf(-Inf) which was Nan previously
(We could avoid touching the i387 on amd64 in these cases, but we'd
need to bypass the ABI abstraction macros, so leave it the old way
for now.)
2008-06-24 17:27:56 +00:00
ad
e7bd22925c
A few more POSIX defs for threads.
2008-06-24 14:06:55 +00:00
ad
6d153667e5
pthread_kill, pthread_sigmask: return errno, not the return from the system
...
call. Found by VSTHlite.
2008-06-24 13:45:07 +00:00
christos
0ec2ee405f
No need for pthread anymore.
2008-06-23 14:52:11 +00:00
ad
10ba267505
Split cond_signal/cond_broadcast into inline and non-inline parts, like
...
the kernel.
2008-06-23 11:01:19 +00:00
ad
d9a30823e2
Move call to pthread__self() later.
2008-06-23 11:00:53 +00:00
ad
380c3da007
Split choose_arena() back out into inline and non-inline portions.
2008-06-23 10:46:25 +00:00
ad
3e1711d6de
pthread__threadreg_get: mark it const.
2008-06-23 10:39:38 +00:00
ad
edbc7575cc
pthread_curcpu_np: remove hack for pthread_dummy_lwpctl.
2008-06-23 10:38:39 +00:00
drochner
bc43bac5ca
-fix an obvious mistake in fpcw check
...
-replace ARG_DOUBLE_ONE_HALF by _MSW/_LSW because this reflects the
intention and also matches the terms used in C code,
also make the code where the fpcw overwrites the argument a bit
self-documenting
(this abstraction sucks because it forces to write inefficient code)
2008-06-23 10:24:13 +00:00
ad
7a21650601
Install manual pages for the atomic ops.
2008-06-23 10:22:40 +00:00
christos
1d1021c331
add macros for the upper half of the double arguments.
2008-06-23 00:14:46 +00:00
christos
8a9e7b0124
Share the amd64 and i386 exp versions. Fixes a problem with exp(-Inf) != 0.
2008-06-23 00:12:04 +00:00
christos
4f1a5d7e7c
bump libssh because of HPN and add pthreads dependency.
2008-06-22 15:43:40 +00:00
wiz
067a770e99
Note that strndup was recently (4.0) added. Bump date.
2008-06-22 11:02:07 +00:00
wiz
688c5830e1
Clarify a sentence.
2008-06-22 08:25:26 +00:00
wiz
e15ccc02f4
Make HTML-ready. Bump date for previous.
2008-06-22 08:24:40 +00:00
wiz
81ffe97c5e
Bump date for previous.
2008-06-22 08:24:26 +00:00
christos
7ce5e09d1b
- protect DEBUG again because we should be able to set it from the Makefile
...
- add a missing cast to pacify lint.
2008-06-21 23:37:53 +00:00
christos
494bafa060
forgot to commit these.
2008-06-21 23:32:19 +00:00
christos
aaad11e7ac
bump for bind-9-5-0
2008-06-21 20:42:40 +00:00
christos
3873655b27
updates from bind-9-5-0
2008-06-21 20:41:48 +00:00
ad
49b506e72f
PR lib/38948: libpthread, java: thread awakening itself
2008-06-21 11:27:41 +00:00
gmcgarry
38541e9dad
Remove old GCC bug work-around which relied on GCC extension.
2008-06-21 00:52:52 +00:00
christos
f498c90335
PR/38942: Pedro F. Giffuni: Mention that utimes now supports setting of
...
the birthtime. Text from FreeBSD.
2008-06-17 17:46:40 +00:00
he
842f96408c
Correct the use of MLINKS for the cpuset_* manual page links.
...
The value for MLINKS is a list of pairs, where the original manpage
is listed first in each pair...
2008-06-17 00:10:54 +00:00
rmind
4e4303fb66
pset(3): add code example, note about thread affinity.
...
sched(3): mention affinity(3) and cpuset(3).
2008-06-16 14:34:10 +00:00
rmind
e6acd90e07
- Add affinity(3) manual page, which describes thread affinity,
...
pthread_setaffinity_np(3) and pthread_getaffinity_np(3) functions,
provides simple code example.
- Add cpuset(3) manual page, which describes API of CPU-sets.
Thanks <wiz> for many improvements!
2008-06-16 14:25:49 +00:00
christos
2d6c1e93d9
Glue in cpuset.c
2008-06-15 20:36:52 +00:00
tnozaki
e1ee662664
remove unused include, locale.h.
2008-06-14 16:01:07 +00:00
yamt
2233bf3229
remove unnecessary casts.
2008-06-13 03:18:04 +00:00
yamt
60683edb0f
avoid c99 on DEBUG.
2008-06-13 03:15:50 +00:00
christos
22c4053358
PR/38539: Ed Ravin: libc/gen/syslog.c always logs to console if LOG_CONS is set.
...
While here:
1. Don't loop forever, handle closing and opening the log after each send.
2. Release the lock later, after we've possibly printed to the console.
2008-06-12 20:43:14 +00:00
ginsbach
0f112a8437
The category LC_MESSAGES is already a directory possibly containing
...
gencat(1) generated message catalogs. Make sure that it is handled
properly. (I missed this previously.)
Add some additional sanity checks on the locale path as the value may
come from the envrionment.
2008-06-12 20:33:23 +00:00
ad
6e5329fd40
Use a dummy assembly file so we won't try produce lint stuff.
2008-06-06 13:35:06 +00:00
yamt
4f6334de3c
fix a typo
2008-06-06 05:51:46 +00:00
ad
271002f500
Back out previous because it breaks the build.
2008-06-05 23:38:51 +00:00