summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/ext/async/sqlite3async.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-09-22 12:55:24 +0000
committermpi <mpi@openbsd.org>2016-09-22 12:55:24 +0000
commitdd41d61928386cd56a5d680f436dda4efd9154e0 (patch)
tree0825b0a015b5a2dba83e0c57be0d7366d804a5dc /lib/libsqlite3/ext/async/sqlite3async.c
parentPeriodically call mii_tick() like all our other ethernet drivers that use (diff)
downloadwireguard-openbsd-dd41d61928386cd56a5d680f436dda4efd9154e0.tar.xz
wireguard-openbsd-dd41d61928386cd56a5d680f436dda4efd9154e0.zip
Introduce a new 'softclock' thread that will be used to execute timeout
callbacks needing a process context. The function timeout_set_proc(9) has to be used instead of timeout_set(9) when a timeout callback needs a process context. Note that if such a timeout is waiting, understand sleeping, for a non negligible amount of time it might delay other timeouts needing a process context. dlg@ agrees with this as a temporary solution. Manpage tweaks from jmc@ ok kettenis@, bluhm@, mikeb@
Diffstat (limited to 'lib/libsqlite3/ext/async/sqlite3async.c')
0 files changed, 0 insertions, 0 deletions