mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +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:
parent
4515925991
commit
578609461f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user