chiark
/
gitweb
/
~mdw
/
adns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ae174
)
Reentrancy: Add warning comment to adns__must_gettimeofday
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 12 Oct 2014 20:18:29 +0000
(21:18 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 12 Oct 2014 20:19:23 +0000
(21:19 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/internal.h
patch
|
blob
|
blame
|
history
diff --git
a/src/internal.h
b/src/internal.h
index 4fd6ee802fb622f1586a2428cbcfd2e4f7f0e131..0374accfa56b3db401b914d1622f7968775436e2 100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-872,6
+872,7
@@
void adns__autosys(adns_state ads, struct timeval now);
void adns__must_gettimeofday(adns_state ads, const struct timeval **now_io,
struct timeval *tv_buf);
+/* Call with care - might reentrantly cause queries to be completed! */
int adns__pollfds(adns_state ads, struct pollfd pollfds_buf[MAX_POLLFDS]);
void adns__fdevents(adns_state ads,