aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_thr.c
Commit message (Expand)AuthorAgeFilesLines
* Remove even more unneeded variable assignments.Ed Schouten2009-02-261-3/+1
* Add sv_flags field to struct sysentvec with intention to provide descriptionKonstantin Belousov2008-11-221-3/+1
* Revert rev 184216 and 184199, due to the way the thread_lock works,David Xu2008-11-051-1/+2
* If threads limit is exceeded, increase the totoal numberDavid Xu2008-10-291-1/+4
* Actually, for signal and thread suspension, extra process spin lock isDavid Xu2008-10-231-2/+1
* Check the result of copyin and in a case of errorRoman Divacky2008-10-131-0/+2
* Fix compiling problem.David Xu2008-04-291-1/+1
* Remove commented out code, thread suspension is done in thread library.David Xu2008-03-231-2/+1
* - Add a new td flag TDF_NEEDSUSPCHK that is set whenever a thread needsJeff Roberson2008-03-211-0/+2
* - Relax requirements for p_numthreads, p_threads, p_swtick, and p_nice fromJeff Roberson2008-03-191-2/+0
* This time REALLY copy the name from the proc to the thread as a default.Julian Elischer2007-11-151-0/+1
* Fix for the panic("vm_thread_new: kstack allocation failed") andKonstantin Belousov2007-11-051-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