summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-01-11 03:51:58 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-01-11 03:51:58 +0000
commitf2b52e135572d9b6db0a7750f6e49ceb6dc9c86f (patch)
treefa1a76d502bcd56b22eff9717180a4330bad7c7a /sys/net/pf.c
parent07b6c47bf3506b1d17f7c5d0a4996c64403ffe9d (diff)
rework the polling code to use the semantic krw@ proposed.
intercept the ccb_done handling so polled commands set a flag that mpi_poll tests on. when ccb_done sets the variable, the poll loop breaks and mpi_poll runs the original ccb_done handler for the ccb completion. this is a lot simpler than the previous implementation and removes a mutex. ok beck@
Diffstat (limited to 'sys/net/pf.c')
0 files changed, 0 insertions, 0 deletions