summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_attr.c
Commit message (Collapse)AuthorAgeFilesLines
* Use sysctl kern.sched.cpusetsize to retrieve size of kernel cpuset.davidxu2010-11-021-8/+5
|
* Check small set and reject it, this is how kernel did. Always use thedavidxu2010-10-271-37/+32
| | | | size kernel is using.
* - Revert r214409.davidxu2010-10-271-5/+6
| | | | - Use long word to figure out sizeof kernel cpuset, hope it works.
* Fix typo.davidxu2010-10-251-1/+1
|
* Get cpuset in pthread_attr_get_np() and free it in pthread_attr_destroy().davidxu2010-10-251-10/+29
| | | | MFC after: 7 days
* Convert thread list lock from mutex to rwlock.davidxu2010-09-131-6/+7
|
* Avoid various shadowed variables. libthr is now almost WARNS=4 clean exceptdelphij2008-04-231-9/+9
| | | | | | for some const dequalifiers that needs more careful investigation. Ok'ed by: davidxu
* Compile libthr with warnings.ru2008-03-251-6/+6
|
* Fix a bug when calculating remnant size.davidxu2008-03-061-1/+1
|
* Check actual size of cpuset kernel is using and define underscore versiondavidxu2008-03-051-7/+42
| | | | of API.
* implement pthread_attr_getaffinity_np and pthread_attr_setaffinity_np.davidxu2008-03-041-1/+58
|
* Remove 3rd clause, renumber, ok per emailimp2007-01-121-4/+1
|
* Use kernel facilities to support real-time scheduling.davidxu2006-07-121-2/+10
|
* - Use same priority range returned by kernel's sched_get_priority_min()davidxu2006-04-271-13/+17
| | | | | and sched_get_priority_max() syscalls. - Remove unused fields from structure pthread_attr.
* WARNS level 4 cleanup.davidxu2006-04-041-0/+2
|
* Return real detached state.davidxu2006-01-091-0/+2
|
* Import my recent 1:1 threading working. some features improved includes:davidxu2005-04-021-236/+339
| | | | | | | | | | | | | | | | 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
* Move the weak references to the top of the file to conformmtm2004-02-181-43/+22
| | | | to the format of other similar files in libthr.
* - Add libthr but don't hook it up to the regular build yet. This is anjeff2003-04-011-0/+450
adaptation of libc_r for the thr system call interface. This is beta quality code.
OpenPOWER on IntegriCloud