asterisk/main/stdtime
Joshua Colp a05bb258b1 test_time: Provide a timeout when waiting.
The test_timezone_watch unit test is written to expect a
condition to be signaled when the inotify daemon thread runs.
There exists a small window where the test_timezone_watch
thread can signal the inotify daemon thread while it is not
reading on the underlying file descriptor. If this occurs
the test_timezone_watch thread will wait indefinitely for a
signal that will never arrive.

This change adds a timeout to the condition so it will return
regardless after a period of time.

Change-Id: Ifed981879df6de3d93acd3ee0a70f92546517390
2015-12-28 14:11:14 -06:00
..
Makefile Merged revisions 157859 via svnmerge from 2008-11-20 00:08:12 +00:00
localtime.c test_time: Provide a timeout when waiting. 2015-12-28 14:11:14 -06:00
private.h Merged revisions 82285 via svnmerge from 2007-09-12 21:25:57 +00:00
test.c Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
tzfile.h Merged revisions 82291 via svnmerge from 2007-09-12 21:32:24 +00:00