ad
a46df1f1f2
pthread_barrier: Fix numerous stupid bugs. Surprising that nobody
...
complained yet.
2009-01-29 21:19:35 +00:00
wiz
0aec71a9f5
Fix typo.
2009-01-24 13:00:03 +00:00
rmind
909e7f4259
- Make thread-affinity and processor-set interfaces mutually exlusive.
...
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
2009-01-20 01:57:35 +00:00
lukem
a06595c27b
fix -Wsign-compare issues
2009-01-18 12:14:16 +00:00
christos
6343ca254d
fix __sigtimedwait50
2009-01-13 01:50:04 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
wiz
42fdda0454
Bump date for previous.
2008-12-31 14:19:51 +00:00
christos
4a65af23ac
mention that these may fail with EPERM. From Anon Ymous
2008-12-31 13:57:54 +00:00
christos
62f7265ebd
revert previous. It was meant for the branch
2008-12-29 15:08:03 +00:00
christos
6c20e81ce2
adjust for time_t 64
2008-12-28 21:33:35 +00:00
ad
ebaaa8cf7a
Some things to do on major bump.
2008-12-28 11:01:58 +00:00
ad
18e73e1ebe
Replace semid_t with intptr_t. No function change. This is a libc/kernel
...
private interface and so the name change should not affect any third
party code.
2008-11-14 15:49:20 +00:00
uwe
55247fa322
Fix typo in comment.
2008-10-27 00:52:07 +00:00
uwe
47cd7b4502
Pull down revision 1.3.6.1 by skrll@ (adapted to include reg::r_gbr).
...
struct mcontext != struct reg on sh3.
Fix PTHREAD_UCONTEXT_TO_REG / PTHREAD_REG_TO_UCONTEXT to deal with this.
2008-10-27 00:47:22 +00:00
mrg
fb8d95d826
check for ${PTHREAD_MACHINE_ARCH} before ${MACHINE_ARCH} or ${MACHINE_CPU}
2008-10-26 00:00:27 +00:00
yamt
639a0868fd
remove ; after __weak_alias()
2008-10-25 14:14:11 +00:00
snj
682ea0e2b3
s/explicitely/explicitly/
2008-10-19 21:27:46 +00:00
rmind
43819fe5ab
Do not recommend to mix affinity(3) with pset(3).
2008-10-18 03:37:41 +00:00
ad
6f7d0483cf
pthread_attr_getschedparam: allow without preceding setparam on the
...
attr structure.
2008-10-10 09:13:20 +00:00
ad
8572b64ab0
Clarifications for PTHREAD_DIAGASSERT.
2008-10-08 10:11:11 +00:00
ad
beaa63b638
Disable diagnostic assertions by default and just return error codes like
...
other systems. Allows poorly written applications to appear working. If you
are developing pthread apps please turn it on manually by setting the
environment variable.
2008-10-08 10:03:28 +00:00
ad
fdc51b51d9
Adjust the compat stuff slightly so that the changes are mostly self
...
contained (Makefile, pthread_compat.c).
2008-10-08 08:27:07 +00:00
ad
844fcfc979
make PTHREAD__COMPAT=1
...
Builds a libpthread that can be dropped into a NetBSD 2/3/4 chroot.
This makes threading work in the chroot when using a NetBSD 5 kernel, no
other modifications required.
2008-09-29 08:48:15 +00:00
rmind
0f80b1578d
Arguments were swapped for cpuset_set(), cpuset_clr(), cpuset_isset()
...
functions, but man pages were not updated (hi Christos!).
2008-09-12 13:39:04 +00:00
skrll
0b99767bfe
Remove unnecessary include.
2008-08-11 21:45:24 +00:00
matt
2b0c4dcffd
Change pthread_mutex_t to use the amount of space as and be congruent to
...
the version used in the SA version of pthreads. This preserves binary
compatibility between both versions of the library.
2008-08-02 19:46:30 +00:00
matt
c0038aadef
Change some type to eliminate some lint warnings.
2008-08-02 16:02:26 +00:00
pooka
6ebb8696c9
add pthread_cond_has_waiters_np()
2008-07-18 16:17:11 +00:00
gmcgarry
5aa0bc7608
Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
...
accesses are permitted on them. Therefore, change movl to movw. No change to
machine code generated.
2008-07-07 13:01:16 +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
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
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
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
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
ad
49b506e72f
PR lib/38948: libpthread, java: thread awakening itself
2008-06-21 11:27:41 +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
ad
271002f500
Back out previous because it breaks the build.
2008-06-05 23:38:51 +00:00
ad
b4ad7b01a5
glibc compatibile PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, requested by
...
rafal@.
2008-06-05 21:40:17 +00:00
uwe
c39ae7f5d7
Recycle unused _REG_EXPEVT slot in mcontext for _REG_GBR.
...
As the size of mcontext is not changed, we avoid the hassle of
versioning all the calls that use it.
_REG_EXPEVT was never used by any code in the tree. Reporting EXPEVT
makes sense only for signals and in that case we pass it to userland
in ksi_trap already which is official MI way to get this (MD) information.
Old binaries running on new kernels will now have their GBR set from
new mcontext, but that's ok too, as GBR was not properly supported by
old kernels (not saved in trapframe), so old binaries couldn't have
possibly used it anyway.
2008-06-01 23:07:20 +00:00
wiz
afa117e7f9
Sort sections. Use more markup.
2008-05-26 08:45:55 +00:00
wiz
5904699302
Sort ERRORS.
2008-05-26 08:43:57 +00:00
wiz
6a46b478a7
Remove trailing whitespace.
2008-05-26 08:43:41 +00:00
wiz
e1070e84ea
Remove duplicate (pasto?) RETURN VALUES section.
2008-05-26 08:43:08 +00:00
wiz
5ae93b7856
Remove trailing whitespace.
2008-05-26 08:41:42 +00:00