summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2009-05-10 11:07:37 +0000
committerespie <espie@openbsd.org>2009-05-10 11:07:37 +0000
commit1ef353c6800c2a45ad4cfa385ae4716fb689ca9c (patch)
tree2520213fa9bbe32555af5c55237f490ee2c058fb /sys/dev
parentRename ``USB graphic device'' to ``USB display devices'', which is more (diff)
downloadwireguard-openbsd-1ef353c6800c2a45ad4cfa385ae4716fb689ca9c.tar.xz
wireguard-openbsd-1ef353c6800c2a45ad4cfa385ae4716fb689ca9c.zip
simplify job handling a great deal: we don't care when jobs get
stopped/continued, as we won't try to start new jobs when other stuff is stopped. Redo signal handling so that most stuff can be done directly in the handler. This requires blocking/unblocking signals while creating new jobs, and creating a small list that only contains job's pids. Switch to pgrps for jobs, since that works. Add a clamping heuristic that avoids starting new jobs while an expensive job is running (expensive meaning "very likely to be a recursive make run"). This idea is mostly from Theo, through the implementation is mine.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions