1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

timed thread stuff

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@951 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2007-09-02 01:10:09 +00:00
parent 4515925991
commit 578609461f

View File

@ -180,8 +180,6 @@ timed_thread_test (timed_thread* p_timed_thread)
assert (p_timed_thread != NULL);
if (now (&wait_time)) return (-1);
/* move the clock backward 1 sec to shift sync slightly earlier than UI thread */
wait_time.tv_sec -= 1;
/* now add in the wait interval */
wait_time.tv_sec += p_timed_thread->interval_time.tv_sec;
wait_time.tv_nsec += p_timed_thread->interval_time.tv_nsec;