diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-03-16 19:34:01 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-03-16 19:34:01 +0000 |
commit | 385a40226a899f61ab363c4c267253dd2ae5bb33 (patch) | |
tree | 999ff06c1d84d02b22accde1ebfbb2a7138836ba /include/asterisk/localtime.h | |
parent | 4acc1689c1f8d23abbe4b34832e1b5eb845cfc8b (diff) |
Fix test_time on Mac OS X (and other platforms without inotify)
Reviewboard: https://reviewboard.asterisk.org/r/554/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/localtime.h')
-rw-r--r-- | include/asterisk/localtime.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h index d9f98f836..8858c43a3 100644 --- a/include/asterisk/localtime.h +++ b/include/asterisk/localtime.h @@ -78,4 +78,11 @@ int ast_strftime(char *buf, size_t len, const char *format, const struct ast_tm */ char *ast_strptime(const char *s, const char *format, struct ast_tm *tm); +/*!\brief Wakeup localtime monitor thread + * For use in testing. Normally, the failsafe monitor thread waits 60 seconds + * between checks to verify whether a timezone file has changed. This routine + * forces the monitor thread to wakeup immediately and check the timezone files. + */ +void ast_localtime_wakeup_monitor(void); + #endif /* _ASTERISK_LOCALTIME_H */ |