[Slirp] [Git][slirp/libslirp][master] timer_mod: explicit that expire_time is in ms, not ns

Samuel Thibault (@sthibaul) gitlab at gitlab.freedesktop.org
Sun Jun 6 20:59:38 UTC 2021



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
f40fe880 by Samuel Thibault at 2021-06-06T22:43:10+02:00
timer_mod: explicit that expire_time is in ms, not ns

Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>

- - - - -


1 changed file:

- src/libslirp.h


Changes:

=====================================
src/libslirp.h
=====================================
@@ -62,7 +62,7 @@ typedef struct SlirpCb {
     void *(*timer_new)(SlirpTimerCb cb, void *cb_opaque, void *opaque);
     /* Remove and free a timer */
     void (*timer_free)(void *timer, void *opaque);
-    /* Modify a timer to expire at @expire_time */
+    /* Modify a timer to expire at @expire_time (ms) */
     void (*timer_mod)(void *timer, int64_t expire_time, void *opaque);
     /* Register a fd for future polling */
     void (*register_poll_fd)(int fd, void *opaque);



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/f40fe880c0a5e77b81eeab87fb533bfb2d74b9d7

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/f40fe880c0a5e77b81eeab87fb533bfb2d74b9d7
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20210606/317dd3e5/attachment.htm>


More information about the Slirp mailing list