History log of /freebsd-10.1-release/lib/libthr/thread/thr_attr.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 214653 02-Nov-2010 davidxu

Use sysctl kern.sched.cpusetsize to retrieve size of kernel cpuset.


# 214413 27-Oct-2010 davidxu

Check small set and reject it, this is how kernel did. Always use the
size kernel is using.


# 214412 27-Oct-2010 davidxu

- Revert r214409.
- Use long word to figure out sizeof kernel cpuset, hope it works.


# 214335 25-Oct-2010 davidxu

Fix typo.


# 214334 25-Oct-2010 davidxu

Get cpuset in pthread_attr_get_np() and free it in pthread_attr_destroy().

MFC after: 7 days


# 212536 13-Sep-2010 davidxu

Convert thread list lock from mutex to rwlock.


# 178446 23-Apr-2008 delphij

Avoid various shadowed variables. libthr is now almost WARNS=4 clean except
for some const dequalifiers that needs more careful investigation.

Ok'ed by: davidxu


# 177605 25-Mar-2008 ru

Compile libthr with warnings.


# 176864 06-Mar-2008 davidxu

Fix a bug when calculating remnant size.


# 176815 05-Mar-2008 davidxu

Check actual size of cpuset kernel is using and define underscore version
of API.


# 176781 04-Mar-2008 davidxu

implement pthread_attr_getaffinity_np and pthread_attr_setaffinity_np.


# 165967 12-Jan-2007 imp

Remove 3rd clause, renumber, ok per email


# 160287 12-Jul-2006 davidxu

Use kernel facilities to support real-time scheduling.


# 158073 27-Apr-2006 davidxu

- Use same priority range returned by kernel's sched_get_priority_min()
and sched_get_priority_max() syscalls.
- Remove unused fields from structure pthread_attr.


# 157457 04-Apr-2006 davidxu

WARNS level 4 cleanup.


# 154126 09-Jan-2006 davidxu

Return real detached state.


# 144518 01-Apr-2005 davidxu

Import my recent 1:1 threading working. some features improved includes:
1. fast simple type mutex.
2. __thread tls works.
3. asynchronous cancellation works ( using signal ).
4. thread synchronization is fully based on umtx, mainly, condition
variable and other synchronization objects were rewritten by using
umtx directly. those objects can be shared between processes via
shared memory, it has to change ABI which does not happen yet.
5. default stack size is increased to 1M on 32 bits platform, 2M for
64 bits platform.
As the result, some mysql super-smack benchmarks show performance is
improved massivly.

Okayed by: jeff, mtm, rwatson, scottl


# 125963 18-Feb-2004 mtm

Move the weak references to the top of the file to conform
to the format of other similar files in libthr.


# 112918 01-Apr-2003 jeff

- Add libthr but don't hook it up to the regular build yet. This is an
adaptation of libc_r for the thr system call interface. This is beta
quality code.