summaryrefslogtreecommitdiff
path: root/sys/kern/kern_thr.c
Commit message (Expand)AuthorAgeFilesLines
* td_osd is at the end of struct thread to avoid breaking the ABIKip Macy2009-05-201-0/+1
* Mostly synchronize lib/libthr and sys/kern/kern_umtx.c with the codeKonstantin Belousov2009-03-241-1/+1
* MFC fix for the panic("vm_thread_new: kstack allocation failed") andKonstantin Belousov2008-01-181-0/+2
* Add thr_kill2 syscall which sends a signal to a thread in another process.David Xu2007-08-161-0/+55
* - Remove unused variable from create_thread().John Baldwin2007-06-071-2/+1
* Commit 14/14 of sched_lock decomposition.Jeff Roberson2007-06-051-10/+13
* - Remove setrunqueue and replace it with direct calls to sched_add().Jeff Roberson2007-01-231-1/+1
* Threading cleanup.. part 2 of several.Julian Elischer2006-12-061-35/+1
* if a thread blocked on userland condition variable isDavid Xu2006-12-041-0/+11
* Update includes for sys/posix4 move.Tom Rhodes2006-11-111-2/+1
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningRobert Watson2006-11-061-1/+2
* Make KSE a kernel option, turned on by default in all GENERICJohn Birrell2006-10-261-0/+24
* Add compatible code to let 32bit libthr work on 64bit kernel.David Xu2006-09-221-25/+64
* Replace system call thr_getscheduler, thr_setscheduler, thr_setschedparamDavid Xu2006-09-211-198/+21
* Same as previous change, the user provided priority should be reversedDavid Xu2006-08-251-2/+2
* POSIX requires that higher numerical values for the priority representDavid Xu2006-08-231-39/+39
* Add syscalls thr_setscheduler, thr_getscheduler, and thr_setschedparam,David Xu2006-07-131-2/+158
* Use newkg to check if SCHED_OTHER is already inherited.David Xu2006-07-121-2/+1
* Don't forget to check invalid policy!David Xu2006-07-111-7/+9
* For SCHED_OTHER, we always inherit current thread's interactive priorityDavid Xu2006-07-111-6/+10
* Add POSIX scheduler parameters support to thr_new syscall, this permitsDavid Xu2006-07-111-4/+57
* Create thread in separated ksegrp, so they always get correct user levelDavid Xu2006-07-101-75/+11
* Change msleep() and tsleep() to not alter the calling thread's priorityJohn Baldwin2006-04-171-2/+2
* Call thread_stopped in thr_exit to notify parent that the child processDavid Xu2006-02-101-0/+1
* Implement thr_set_name to set a name for thread.David Xu2006-02-051-0/+29
* Add a new feature to thr_kill, if thread ID argument is -1, sendDavid Xu2006-01-071-12/+27
* Cleanup some signal interfaces. Now the tdsignal function acceptsDavid Xu2005-11-031-1/+1
* Oops, don't change tdsignal call.David Xu2005-11-031-1/+1
* Add thread_find() function to search a thread by lwpid.David Xu2005-11-031-12/+8
* do umtx_wake at userland thread exit address, so that others userlandDavid Xu2005-10-261-1/+5
* 1. Change prototype of trapsignal and sendsig to use ksiginfo_t *, mostDavid Xu2005-10-141-1/+2
* Validate if the value written into {FS,GS}.base is a canonicalDavid Xu2005-07-101-1/+6
* Add new syscall thr_new to create thread in atomic, it willDavid Xu2005-04-231-53/+136
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* If a thread is resumed by thr_wake, it should return 0, especially itDavid Xu2004-12-011-5/+15
* Remove local definitions of RANGEOF() and use __rangeof() instead.David Schultz2004-11-201-10/+4
* Close a race between a thread exiting and the freeing of it's stack.Mike Makonnen2004-10-061-1/+5
* Close a race between thr_create and sysctl -w, the thr_scope_sys couldDavid Xu2004-10-061-7/+10
* fix typoJulian Elischer2004-09-071-1/+1
* Give libthr a choice (per system) of scope_system or scope_threadJulian Elischer2004-09-071-10/+37
* Refactor a bunch of scheduler code to give basically the same behaviourJulian Elischer2004-09-051-102/+55
* Give setrunqueue() and sched_add() more of a clue as toJulian Elischer2004-09-011-1/+1
* When calling scheduler entrypoints for creating new threads and processes,Julian Elischer2004-07-181-2/+2
* writers must hold both sched_lock and the process lock; therefore, readersMike Makonnen2004-07-121-5/+2
* Change the thread ID (thr_id_t) used for 1:1 threading from being aMarcel Moolenaar2004-07-021-13/+16
* Allocate TIDs in thread_init() and deallocate them in thread_fini().Marcel Moolenaar2004-06-261-1/+0
* If you're trying to find out if a thread is valid and inMike Makonnen2004-04-191-4/+4
* Assign thread IDs to kernel threads. The purpose of the thread ID (tid)Marcel Moolenaar2004-04-031-0/+1
* Add missing comment terminator.Kris Kennaway2004-04-021-1/+1
* The comment complained about not having a thread_unlink()Julian Elischer2004-04-021-5/+2