[Slirp] [Git][slirp/libslirp][master] Complete timeout documentation

Samuel Thibault gitlab at gitlab.freedesktop.org
Thu Feb 11 14:18:13 UTC 2021



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
89d82f69 by Samuel Thibault at 2021-02-11T15:17:51+01:00
Complete timeout documentation

- - - - -


1 changed file:

- src/libslirp.h


Changes:

=====================================
src/libslirp.h
=====================================
@@ -138,7 +138,7 @@ Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork,
 void slirp_cleanup(Slirp *slirp);
 
 /* This is called by the application when it is about to sleep through poll().
- * *timeout is set to the amount of virtual time that the application intends to
+ * *timeout is set to the amount of virtual time (in ms) that the application intends to
  * wait (UINT32_MAX if infinite). slirp_pollfds_fill updates it according to
  * e.g. TCP timers, so the application knows it should sleep a smaller amount of
  * time. slirp_pollfds_fill calls add_poll for each file descriptor



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

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/89d82f69458f8c54a3b67a97ee8cd66fce14bf18
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/20210211/6ef96326/attachment.htm>


More information about the Slirp mailing list