diff options
author | 2013-11-27 04:28:32 +0000 | |
---|---|---|
committer | 2013-11-27 04:28:32 +0000 | |
commit | 1697ea25319307d409778fe0474580a85b933c55 (patch) | |
tree | b6ad240fd4beb7810aa4f782bd5fd62596daac0b /lib/libc | |
parent | use a macro when testing for an ich8 family mac type (diff) | |
download | wireguard-openbsd-1697ea25319307d409778fe0474580a85b933c55.tar.xz wireguard-openbsd-1697ea25319307d409778fe0474580a85b933c55.zip |
make timeout_add and its wrappers return whether the timeout was scheduled
in this call by returning 1, or a previous call by returning 0. this makes
it easy to refcount the stuff we're scheduling a timeout for, and brings
the api in line with what task_add(9) provides.
ok mpi@ matthew@ mikeb@ guenther@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions