1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 14:09:13 +00:00

include infopipe header

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@481 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2006-01-07 01:43:30 +00:00
parent 8cf69f9b25
commit 0411afa5e4

View File

@ -33,6 +33,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "infopipe.h"
#include "conky.h" #include "conky.h"
/* access to this item array is synchronized with mutexes */ /* access to this item array is synchronized with mutexes */
@ -44,7 +45,7 @@ static infopipe_t g_items;
void update_infopipe(void) void update_infopipe(void)
{ {
/* /*
The worker thread is updating ihe g_items array asynchronously to the main The worker thread is updating the g_items array asynchronously to the main
conky thread. We merely copy the g_items array into the main thread's info conky thread. We merely copy the g_items array into the main thread's info
structure when the main thread's update cycle fires. Note that using the structure when the main thread's update cycle fires. Note that using the
mutexes here makes it easier since we won't have to do any sync in conky.c. mutexes here makes it easier since we won't have to do any sync in conky.c.