XMMS2
Functions
src/xmms/collsync.c File Reference

Manages the synchronization of collections to the database at 10 seconds after the last collections-change. More...

#include "xmmspriv/xmms_collsync.h"
#include "xmmspriv/xmms_thread_name.h"
#include "xmms/xmms_log.h"
#include <glib.h>

Go to the source code of this file.

Functions

void xmms_coll_sync_init (xmms_coll_dag_t *dag)
 Get the collection-to-database-synchronization thread running.
void xmms_coll_sync_shutdown ()
 Shutdown the collection-to-database-synchronization thread.
void xmms_coll_sync_schedule_sync ()
 Schedule a collection-to-database-synchronization in 10 seconds.

Detailed Description

Manages the synchronization of collections to the database at 10 seconds after the last collections-change.

Definition in file collsync.c.


Function Documentation

Get the collection-to-database-synchronization thread running.

Definition at line 84 of file collsync.c.

Referenced by xmms_collection_init().

Schedule a collection-to-database-synchronization in 10 seconds.

Definition at line 113 of file collsync.c.

void xmms_coll_sync_shutdown ( void  )

Shutdown the collection-to-database-synchronization thread.

Definition at line 96 of file collsync.c.