summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/sili_pci.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2012-10-07 17:21:37 +0000
committereric <eric@openbsd.org>2012-10-07 17:21:37 +0000
commit81781bd8a48fc0955f9274c7795ddeb919b1198d (patch)
tree79284aad4800cd4508f8ecf24dbf5b276be3f188 /sys/dev/pci/sili_pci.c
parentWe need to provide a sendmail-like interface to makemap so that some tools (diff)
downloadwireguard-openbsd-81781bd8a48fc0955f9274c7795ddeb919b1198d.tar.xz
wireguard-openbsd-81781bd8a48fc0955f9274c7795ddeb919b1198d.zip
Implement a simple wait queue API. The idea is to allow multiple "waiters"
to wait on the same "tag" for a deferred result. A waiter is a callback and a void *argument. The first waiter (the one for which waitq_wait() returns true) is supposed to run some code that leads to waitq_run() being run, which will destroy that waitq and call all callbacks in turn. Not used at the moment, but will be soon. ok gilles@ chl@
Diffstat (limited to 'sys/dev/pci/sili_pci.c')
0 files changed, 0 insertions, 0 deletions