History log of /freebsd-10-stable/lib/libthr/thread/thr_getschedparam.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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

# 238645 20-Jul-2012 davidxu

Don't forget to initialize return value.


# 238643 20-Jul-2012 davidxu

Eliminate duplicated code.


# 162499 21-Sep-2006 davidxu

use rtprio_thread system call to get or set thread priority.


# 160331 13-Jul-2006 davidxu

Caching scheduling policy and priority in userland, a critical but baddly
written application is frequently changing thread priority for SCHED_OTHER
policy.


# 160321 13-Jul-2006 davidxu

Use thr_setscheduler, thr_getscheduler and thr_setschedparam to implement
pthread functions.


# 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.


# 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