diff options
author | jeff <jeff@FreeBSD.org> | 2007-06-04 23:56:08 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-06-04 23:56:08 +0000 |
commit | 20e0f793e8b39e029f1d93f5525c9e9bb8ee0563 (patch) | |
tree | e45a363116d84ec42124068f195dafe332abbdf5 /usr.bin/getopt/Makefile | |
parent | 3a4cdc52dcc2679fea1c55cd0fac1ee071c4dac7 (diff) | |
download | FreeBSD-src-20e0f793e8b39e029f1d93f5525c9e9bb8ee0563.zip FreeBSD-src-20e0f793e8b39e029f1d93f5525c9e9bb8ee0563.tar.gz |
Commit 10/14 of sched_lock decomposition.
- Use sched_throw() rather than replicating the same cpu_throw() code for
each architecture. This also allows the scheduler to use any locking it
may want to.
- Use the thread_lock() rather than sched_lock when preempting.
- The scheduler lock is not required to synchronize release_aps.
Tested by: kris, current@
Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
Diffstat (limited to 'usr.bin/getopt/Makefile')
0 files changed, 0 insertions, 0 deletions